aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <cbeok@protonmail.com>2020-07-11 17:45:34 -0500
committerColin Okay <cbeok@protonmail.com>2020-07-11 17:45:34 -0500
commit714da6989c8c849695f4b1033bfd7f58d36f8241 (patch)
treef17df524932b98be5ae466a9ca68df214d04fc9b
parent1ba70f00725586bfcdf49f96d46c6b814e77a411 (diff)
cleanup docstring for inject!
-rw-r--r--gtwiwtg.lisp8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtwiwtg.lisp b/gtwiwtg.lisp
index ca7e605..ac846bd 100644
--- a/gtwiwtg.lisp
+++ b/gtwiwtg.lisp
@@ -670,7 +670,7 @@ Possibly good for debugging.
Example:
> (map! #'reverse
- (inejct! #'print ; look at values before they're reversed
+ (inject! #'print ; look at values before they're reversed
(zip! (range)
(repeater :cool :beans)
(seq \"banzai!\"))))
@@ -684,7 +684,11 @@ Example:
(4 :COOL #\a)
(5 :BEANS #\i)
- ((#\b :COOL 0) (#\a :BEANS 1) (#\n :COOL 2) (#\z :BEANS 3) (#\a :COOL 4)
+ ((#\b :COOL 0) ; and this is what collect returns
+ (#\a :BEANS 1)
+ (#\n :COOL 2)
+ (#\z :BEANS 3)
+ (#\a :COOL 4)
(#\i :BEANS 5))
"