]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4071: scheme-tutorial.itely: missing closing paren
authorDavid Kastrup <dak@gnu.org>
Fri, 28 Oct 2011 15:52:42 +0000 (17:52 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 27 Aug 2014 20:54:55 +0000 (22:54 +0200)
But it turns out that the "formal" definition of a list given there is
unsuitable for determining the list status of circular lists because the
definition, well, turns out to be circular.

Documentation/extending/scheme-tutorial.itely

index 7503306b1fa56f3e8c16b0f6d25b5f5e8d8f28a6..fc2eba1c6debfec3345933e1d3a0b204f0ab7420 100644 (file)
@@ -275,9 +275,10 @@ Abelson, see
 @node Lists
 @unnumberedsubsubsec Lists
 
-A very common Scheme data structure is the @emph{list}.  Formally, a
-list is defined as either the empty list (represented as @code{'()},
-or a pair whose @code{cdr} is a list.
+A very common Scheme data structure is the @emph{list}.  Formally,
+a @q{proper} list is defined to be either the empty list with its
+input form @code{'()} and length@tie{}0, or a pair whose
+@code{cdr} in turn is a shorter list.
 
 There are many ways of creating lists.  Perhaps the most common is
 with the @code{list} procedure: