aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2020-12-13 11:02:12 -0600
committerColin Okay <okay@toyful.space>2020-12-13 11:02:12 -0600
commit5697bc0a97d31bfb5aef0e1ebbf76a1c8347d74b (patch)
treeb11ff5c9fa9ecae6a3305c3b6090355fcff5ddde
parent1c9c78d917d86632c176084352bbe90698a6c5da (diff)
exports
-rw-r--r--macros.lisp3
-rw-r--r--package.lisp1
2 files changed, 4 insertions, 0 deletions
diff --git a/macros.lisp b/macros.lisp
index c4aa0aa..d560b68 100644
--- a/macros.lisp
+++ b/macros.lisp
@@ -194,6 +194,9 @@ should return \"☹\".
FAIL-WHEN should be a function, a predicate, that operates on the
first value returned from one of the forms. If non-NIL, the MONADIC>
form returns with the value of the expression FAIL-WITH .
+
+The default value of FAIL-WHEN is the predicate NULL.
+
"
(let ((vals (gensym))
(fn (gensym))
diff --git a/package.lisp b/package.lisp
index 4028f77..00cd296 100644
--- a/package.lisp
+++ b/package.lisp
@@ -4,6 +4,7 @@
(:use #:cl)
(:export #:$
#:->
+ #:monadic>
#:all>
#:some>
#:make-lazy