[plt-scheme] keyword arguments (in v4.0, maybe)
On Jun 12, Joe Marshall wrote:
> On 6/11/07, Eli Barzilay <eli at barzilay.org> wrote:
> >
> > The "'#:" prefix is very heavy --
>
> One truly ugly character too many. It's not too late to change this....
Yes -- it's truly ugly. But this is a good result -- if you get to
ever use that, then you're probably better off using symbols. (This
is different from CL where keywords are often used in places where
symbols do fine in Scheme.)
The only code that should deal with such quoted keyword values would
be code that deals with the function calling mechanism. (For example,
the code that `lambda/kw' expands to.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!