At 2018-05-16T07:32:43-07:00, Andrew Kent wrote: > #lang racket/base > > (require (for-syntax racket/base racket/string) > racket/require) > > (require (filtered-in > (λ (name) > (string-replace name "->" "→")) > racket)) > > (string→number "42")
Thank you. I now have the following in my file: ---------- #lang racket/base (module syntax-transform racket/base (require racket/string) (provide arrow-beautify) (define (arrow-beautify string) (string-replace string "->" "→"))) (require racket/require (for-syntax 'syntax-transform)) (require (filtered-in arrow-beautify racket)) ---------- Running this file in Dr Racket, I get > (string→symbol "map") 'map I get the same in Emacs/Geiser with `geiser-mode-switch-to-repl-and-enter' (C-c C-a). Thanks to everyone who replied! Raghu. -- N. Raghavendra <ra...@hri.res.in>, http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/ -- 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.