Hello everybody,

is there a way to tell the `(read)` function not to interpret `|` as an "copy 
this verbatim" delimiter?

What I want to do is:
(read "(|| a b)") ;=> '(|| a b)
(read "(<| a b)") ;=> '(<| a b)
etc. - allow `|` as a symbol.

I know about readtables - dabbled with them before and they seem like the right 
tool for the job. But in this case, my last attempt was:

(make-readtable (current-readtable)

and I couldn't get the `read-as-symbol` function right. Also experimented with 
`read-accept-bar-quote` parameter but no dice.

Any help/pointers?

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