aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mcgoron.cond-thunk.values.scm
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-12-31 17:37:38 -0500
committerGravatar Peter McGoron 2024-12-31 17:37:38 -0500
commit165a05d2127f58d663bdd1dd6e333b6d3427b2f9 (patch)
tree4e23d5de03ba7ca8724d00c6edb3982759418f29 /doc/mcgoron.cond-thunk.values.scm
parentfix length=> (diff)
add receive-ct
Diffstat (limited to 'doc/mcgoron.cond-thunk.values.scm')
-rw-r--r--doc/mcgoron.cond-thunk.values.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/mcgoron.cond-thunk.values.scm b/doc/mcgoron.cond-thunk.values.scm
index 4067594..df514f1 100644
--- a/doc/mcgoron.cond-thunk.values.scm
+++ b/doc/mcgoron.cond-thunk.values.scm
@@ -30,6 +30,12 @@ For each clause,
Once all clauses succeed, the `after` clause returns a thunk containing
body. The free variables bound in and surrounding the `after` expression
are captured in the thunk."))
+ ((name . "receive-ct")
+ (signature syntax-rules () (_ formal generator body ...))
+ (desc "
+If `generator` returns no values, the whole expression returns no values.
+Otherwise bind the values made by `generator` to `formal` and return
+`body ...` as a thunk."))
((name . "cond-values")
(signature syntax-rules () (cond-values clauses ...))
(desc "