diff options
author | Colin Okay <cbeok@protonmail.com> | 2020-07-08 21:29:24 -0500 |
---|---|---|
committer | Colin Okay <cbeok@protonmail.com> | 2020-07-08 21:29:24 -0500 |
commit | c4a87f48f4dec9620bc4eef7a9c1490ca4c4df7b (patch) | |
tree | 4b4b9e350688a7aaa8ee4c294703e4aa782574a9 | |
parent | 577161a2587bfbd49157c65f506b487d4560834a (diff) |
some docstring cleanup
-rw-r--r-- | gtwiwtg.lisp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtwiwtg.lisp b/gtwiwtg.lisp index 77f870c..1fbf825 100644 --- a/gtwiwtg.lisp +++ b/gtwiwtg.lisp @@ -166,7 +166,7 @@ should be K, the number of arguments acepted by REC. Example -> (let ((fibs (from-recurrence (lambda (n-1 n-2) (+ n-1 n-2)) 0 1))) +> (let ((fibs (from-recurrence (lambda (n-1 n-2) (+ n-1 n-2)) 1 0))) (take 10 fibs)) (1 1 2 3 5 8 13 21 34 55) @@ -490,10 +490,9 @@ The emulation is not perfect, but it holds in the following sense: If all the inputs are sorted according to COMPARATOR then the output will also be sorted according to COMPARATOR. -The generator created through a merge has a length that is maximal -among the lengths of the arguments to MERGE!. Hence, if any of the -arguments is an infinite generator, then the new generator is also -infinite. +The generator created through a merge has a length that is the sum of +the lengths of the arguments to MERGE!. Hence, if any of the arguments +is an infinite generator, then the new generator is also infinite. An example: |