Documentation tweaks for the 'r7rs-symbols' read/print options.
authorMark H Weaver <mhw@netris.org>
Mon, 17 Mar 2014 06:40:23 +0000 (02:40 -0400)
committerMark H Weaver <mhw@netris.org>
Mon, 17 Mar 2014 06:40:23 +0000 (02:40 -0400)
* doc/ref/api-data.texi (Symbol Read Syntax): Mention the 'r7rs-symbols'
  print option, and provide example code to enable both the read and
  print options.  Add 'r7rs-symbols' to the concept index.

doc/ref/api-data.texi

index 9fd353d..acdf9ca 100644 (file)
@@ -5526,6 +5526,8 @@ approach to properties, see @ref{Object Properties}.
 @node Symbol Read Syntax
 @subsubsection Extended Read Syntax for Symbols
 
+@cindex r7rs-symbols
+
 The read syntax for a symbol is a sequence of letters, digits, and
 @dfn{extended alphabetic characters}, beginning with a character that
 cannot begin a number.  In addition, the special cases of @code{+},
@@ -5586,6 +5588,16 @@ double quotes.
 |\| is a vertical bar|
 @end example
 
+Note that there's also an @code{r7rs-symbols} print option
+(@pxref{Scheme Write}).  To enable the use of this notation, evaluate
+one or both of the following expressions:
+
+@example
+(read-enable  'r7rs-symbols)
+(print-enable 'r7rs-symbols)
+@end example
+
+
 @node Symbol Uninterned
 @subsubsection Uninterned Symbols