[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for type
From: |
Jörg F . Wittenberger |
Subject: |
Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for type declarations |
Date: |
24 Mar 2013 22:58:20 +0100 |
On Mar 24 2013, John Cowan 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
True, the point is, that with #:rest, that is a keyword, I'd could
resort to the -keyword-style switch, which allows me to use
:rest or rest: (which I'd prefer for my personal taste), both
of which (including &rest as you suggest) would be standard
scheme identifiers, hence tollerated by being read as normal symbols
and therefore easily macro-expanded away.
alternative, I'd say it should be Common Lisp's: &rest, which is an
ordinary symbol with a special meaning in lambda-lists.