On 9/19/2018 8:29 AM, Laurent wrote:
I don't mind `#:`, but I'd prefer to write `[#:foo 5]` rather than `#:foo [foo 5]`, that is, I don't like the repetition of the name (I first came to Racket precisely to avoid repeating code).

When I expressed that a few years ago, I was told it would be unlikely to change in the future though, which is perfectly understandable given how deeply this goes.

make-keyword-procedure  helps with that specific complaint - you don't need to introduce a formal for the keyword value.  But it doesn't help with my complaint (symbolic "existence" keywords) because Racket requires a keyword to have an accompanying value in the argument list.

George

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to