[racket] racket 5.4 syntax tweak wishlist
Yesterday, Neil Van Dyke wrote:
> Two syntax tweaks I'd like to see in Racket 5.4:
>
> * Colon keywords -- Make symbols beginning with the colon character
> read as keywords. Possibly also make keywords print as starting
> with colon rather than pound-colon. I know some people don't mind
> "#:", but I don't like typing it or looking at it. I think "#:"
> also looks gratuitously different/cumbersome to people coming from
> Lisps, and unnecessarily cryptic to people just coming from anywhere
> else.
FWIW, the reason for the prefix `#:' is trying to avoid committing to
either `foo:' or `:foo', with the intention to switch to one of them
if there's sufficient need for it or stay with it if it looks fine as
is (which is what happened).
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!