From: David Kastrup Date: Fri, 28 Oct 2011 15:52:42 +0000 (+0200) Subject: Issue 4071: scheme-tutorial.itely: missing closing paren X-Git-Tag: release/2.19.13-1~11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3eb00210e96180234b4459d797a411148d954374;p=lilypond.git Issue 4071: scheme-tutorial.itely: missing closing paren 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. --- diff --git a/Documentation/extending/scheme-tutorial.itely b/Documentation/extending/scheme-tutorial.itely index 7503306b1f..fc2eba1c6d 100644 --- a/Documentation/extending/scheme-tutorial.itely +++ b/Documentation/extending/scheme-tutorial.itely @@ -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: