On 05/05/2013 12:49 PM, Eric Dobson wrote:
Keywords are normally right because
they are syntactically distinct from expressions --- and so using a
keyword avoids various potential ambiguities and sources of confusion.
Isn't this only true for default bindings of #%datum? It seems like
macros which assume this lose compatibility with #langs that allow
keywords as expressions. I'm not sure whether we want to support that
or not, but it seems wrong to say that they are syntatically distinct
from expressions.
I think it goes the other way around: we want keywords not be be
expressions, so we would discourage languages from defining #%datum
macros that accept them.
Ryan
_________________________
Racket Developers list:
http://lists.racket-lang.org/dev