bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vectors should not evaluate to themselves


From: Martin Grabmueller
Subject: Re: Vectors should not evaluate to themselves
Date: Mon, 09 Apr 2001 17:27:12 +0200

> From: Dirk Herrmann <address@hidden>
> Date: Mon, 9 Apr 2001 15:12:51 +0200 (MEST)
> 
> > > Actually, I don't understand the requirement that vectors don't evaluate
> > > to themselves.  The fact that it is said explicitly in R5RS is an
> > > indication that there must be a good reason for it, but I don't see why.
> > 
> > I suppose it's for symmetry with lists.  Vectors can be used in
> > syntax-case templates like lists, and also in quasiquotations.  But
> > that's just a theory, which is by me and is completely mine...
> 
> Hmmm...  If it was for symmetry only, then why can you write #f instead of
> '#f ?  I still assume that there is more about it.

There is no quasiquotation with #f, but there is with

`#(foo ,(+ 1 2) bar)

That is what I meant with ``symmetry with lists''.

Regards,
  'martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]