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: Kristian Lein-Mathisen
Subject: Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for type declarations
Date: Sun, 24 Mar 2013 22:42:06 +0100


Hi,

Isn't the dot-notation supported by all schemes? (lambda (head . tail) body). What's the reason you can't use that?

K.

On Mar 24, 2013 10:28 PM, "John Cowan" <address@hidden> wrote:
Jörg F. Wittenberger scripsit:

> A suggestion: Since I don't see keywords having a special meaning
> in type declarations, why not have #:rest having the same meaning
> as #!rest for type declarations.  If that was the case, I could
> re-use the -keyword-style switch to make them digestible to other
> implementations.

Not all Schemes can tolerate #:rest either.  If there's to be an
alternative, I'd say it should be Common Lisp's:  &rest, which is an
ordinary symbol with a special meaning in lambda-lists.

--
I marvel at the creature: so secret and         John Cowan
so sly as he is, to come sporting in the pool   address@hidden
before our very window.  Does he think that     http://www.ccil.org/~cowan
Men sleep without watch all night?

_______________________________________________
Chicken-hackers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

reply via email to

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