chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] What does #!key mean?


From: Shawn Rutledge
Subject: Re: [Chicken-users] What does #!key mean?
Date: Sun, 25 Sep 2005 15:29:54 -0700

On 9/25/05, Thomas Chust <address@hidden> wrote:
> Am 25.09.2005, 20:44 Uhr, schrieb Shawn Rutledge
> <address@hidden>:
>
> > [...]
> > The "even number of args" requirement is a little odd though.  Another
> > syntax for this kind of functionality would be
> >
> > (fn (i . 1) (j . 2))
> >
> > which seems more like typical scheme to me, and you don't need the
> > special meaning for symbols that end with colon.
> > [...]
>
> Hello,
>
> the syntax you propose has the disadvantage that you would have to quote
> it clumsily like this:
>    (fn `(i . ,1) `(j . ,2))
> or use a construct like
>    (fn (cons 'i 1) (cons 'j 2))
> in order to make it really work.

Yep it's hard to implement.




reply via email to

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