This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see BracketsBraces in WG2's repo for R7RS-large.


2014-12-28 10:12:32

Here are the ways in which the test suite of Schemes interprets square brackets and curly braces. Both are undefined in R5RS. In R6RS, square brackets are synonyms for parentheses, but curly braces are still undefined.

Brackets are:

Braces are:

Note: In some Schemes where these are identifier characters, they are self-delimiting: that is: {abc} is equivalent to { abc }.