Would it be possible to adjust the readtable to replace "→" with "->" ?
On Wednesday, May 16, 2018 at 10:32:43 AM UTC-4, Andrew Kent wrote: > > `racket/string` needs to be required _for syntax_ in order to work in the > suggested way (because it's bindings are needed at compile time). > > The following works for me in a module: > > ``` > #lang racket/base > > (require (for-syntax racket/base racket/string) > racket/require) > > (require (filtered-in > (λ (name) > (string-replace name "->" "→")) > racket)) > > (string→number "42") > ``` > -- 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.