aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2020-12-13 12:52:45 -0600
committerColin Okay <okay@toyful.space>2020-12-13 12:52:45 -0600
commitcc875b2c0a3d6c2fa078549a626568b53049f34b (patch)
tree0e0c2135eb064c54d0544ab75e3ab6003f8cc8aa
parent2c2047aef8930f0c5d1f1c5ac441a7c5ddebf236 (diff)
docstring update
-rw-r--r--macros.lisp5
1 files changed, 2 insertions, 3 deletions
diff --git a/macros.lisp b/macros.lisp
index b2fcf1e..9ac67f4 100644
--- a/macros.lisp
+++ b/macros.lisp
@@ -184,12 +184,12 @@ printed. But the next time only the return value is used.
should return \"the big idea\"
-(binding> (:exit-with \"☹\")
+(binding> (:exit-value \"☹\")
\"hey dude what's the big idea?\"
#$(values (search \"NOOOOOOPE\" $s) $s)
#$(subseq $2 $1))
-should return (\"☹\")
+should return \"☹\"
EXIT-WHEN should be a function, a predicate, that operates on the
first value returned from one of the forms. If EXIT-WHEN returns
@@ -212,7 +212,6 @@ e.g
will return (:FAILED 44)
The default value of EXIT-WHEN is the predicate NULL.
-
"
(let ((vals (gensym))
(fn (gensym))