Re: [racket-dev] colon keywords

2015-10-14 Thread Alex Knauth
I just implemented that here: https://github.com/AlexKnauth/colon-kw Although it will give you a read error for things like :123 or other things where the part after the colon isn't a symbol. > On Oct 14, 2015, at 8:32 AM, Robby Findler

Re: [racket-dev] colon keywords

2015-10-14 Thread Robby Findler
That's what I meant to be saying. And yes: stupid me to forget about readtables! Robby On Wed, Oct 14, 2015 at 7:31 AM, Alex Knauth wrote: > Should we make this into a meta-language? > > #lang colon-kw racket > (define (a:b a :b c) (+ a c)) > (a:b -1 :b -5) > > That way

[racket-dev] colon keywords

2015-10-13 Thread Neil Van Dyke
I think that Racket 6.3 would be a great time to make `:abc` read the same as `#:abc`. For those of us who are pained deeply by `#:abc`, being able to use `:abc` would be a big aesthetic improvement for Racket. Neil V. -- You received this message because you are subscribed to the Google

Re: [racket-dev] colon keywords

2015-10-13 Thread Alexis King
> I think that Racket 6.3 would be a great time to make `:abc` read the same as > `#:abc`. This sounds like an incredibly breaking change. I support it in general, I think, but it seems like another feature that makes sense for Racket 2/Remix/whatever it ends up being called. I’m sure there