aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mcgoron.cond-thunk.values.scm
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-01-09 16:21:39 -0500
committerGravatar Peter McGoron 2025-01-09 16:21:39 -0500
commitae436e505bf9f7dc47d605d88772c6bfcf93ca05 (patch)
tree738405485af92cd8fc449ad7377779b1fc939bd5 /doc/mcgoron.cond-thunk.values.scm
parentevaluate-thunk-to-boolean (diff)
evaluate-destructor-to-booleanHEADmaster
Diffstat (limited to 'doc/mcgoron.cond-thunk.values.scm')
-rw-r--r--doc/mcgoron.cond-thunk.values.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/mcgoron.cond-thunk.values.scm b/doc/mcgoron.cond-thunk.values.scm
index df514f1..e2c2d5a 100644
--- a/doc/mcgoron.cond-thunk.values.scm
+++ b/doc/mcgoron.cond-thunk.values.scm
@@ -84,4 +84,9 @@ each field of the record as declared in the `field-spec`. Otherwise it
returns no values.
Note that the destructor will always return no values for a record type
-that has no fields."))) \ No newline at end of file
+that has no fields."))
+ ((name "evaluate-destructor-to-boolean")
+ (signature syntax-rules () ((_ expr)))
+ (desc "
+Evaluates the destructor `expr`. If `expr` returns no values, return `#f`.
+Otherwise return `#t`."))) \ No newline at end of file