What does the pipe character do in Racket?

lisp, racket, scheme

Solution

See the Racket syntax:

http://docs.racket-lang.org/reference/reader.html

| 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.

For example 1.3.2 Reading Symbols.

Problem

The reader interprets `|` in a special way, however I cannot find any documentation on it. Does anyone have any idea what this symbol means to Racket?

Original source