[plt-dev] reading symbols beginning with colon as keywords?

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Sat Jun 13 19:55:00 EDT 2009

You can do this on your own code with readtables:

http://docs.plt-scheme.org/reference/readtables.html

Chongkai

Neil Van Dyke wrote:
> How about symbols beginning with ":" be read as keywords, as if they 
> began with "#:"?
>
> I want to use keyword arguments in my libraries, but "#:" is big and 
> scary-looking, and a pain to type.
>
> I think this change would break very little old code, and any such old 
> code could be updated pretty easily.
>



Posted on the dev mailing list.