From 714da6989c8c849695f4b1033bfd7f58d36f8241 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Sat, 11 Jul 2020 17:45:34 -0500 Subject: cleanup docstring for inject! --- gtwiwtg.lisp | 8 ++++++-- 1 file 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)) " -- cgit v1.2.3