[racket] function of | in reader

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Sun Jun 26 06:04:05 EDT 2011

When reading Racket code, will "|" *always* delimit a symbol, or can it 
cause something other than a symbol to be read?

I thought "|" always delimited a symbol, but if so, then the 
documentation at 
"http://doc.racket-lang.org/reference/reader.html#(part._default-readtable-dispatch)" 
seems obtuse:

> | starts a subsequence of characters to be included verbatim in the 
> delimited sequence (i.e., they are never treated as delimiters, and 
> they are not case-folded when case-insensitivity is enabled); the 
> subsequence is terminated by another |, and neither the initial nor 
> terminating | is part of the subsequence.

-- 
http://www.neilvandyke.org/


Posted on the users mailing list.