rhombus-prototype icon indicating copy to clipboard operation
rhombus-prototype copied to clipboard

change syntax-case to allow internal definitions

Open spdegabrielle opened this issue 5 years ago • 2 comments

change syntax-case to allow internal definitions (possibly by getting rid of the 'guard' section)

from Wishlist of backwards incompatible things for a future Racket2. #33

spdegabrielle avatar Jul 22 '19 11:07 spdegabrielle

What if we just got rid of syntax-case altogether?

jackfirth avatar Jul 23 '19 06:07 jackfirth

I think it still makes sense to have syntax-case for low-level core libraries, and it could even be exported in a way that discourages its use.

Another thing that people tend to forget when using syntax-case (and even syntax-parse!) is tracking disappeared-use. It might make sense to have #:track-literals on by default for syntax-parse, and it must be opt-out if users don't want it.

sorawee avatar Oct 26 '20 22:10 sorawee