chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for type


From: Felix
Subject: Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for type declarations
Date: Fri, 29 Mar 2013 22:52:45 +0100 (CET)

> 
> However there's an exception: I know (at least) one Scheme
> implementation,
> which bails out badly on the token "#!rest" .
> 
> Thus I'm forced to carefully keep those type declarations within
> the chicken module instead of the actual code.
> 
> Would it be feasible to have an alternate read syntax for #!rest
> and #!optional, which maps to plain Scheme readable code?

Yes, that makes sense. Dotted lists do unfortunately not work with the
type syntax that is currently used. But "&rest" or "#:rest" may work.
I'll think of something.


cheers,
felix



reply via email to

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