From ddd19b0c893614ddbffdf5b2adc0ecc04325d406 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 29 Mar 2021 23:03:48 -0400 Subject: [PATCH] More docs --- docs/api/scheme/base.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/api/scheme/base.md b/docs/api/scheme/base.md index 05815bba..cac5f1a2 100644 --- a/docs/api/scheme/base.md +++ b/docs/api/scheme/base.md @@ -550,22 +550,32 @@ Raise an error with message `message` and one or more associated objects `obj`. (even? num) +Return `#t` if `num` is even and `#f` if it is not. It is an error if `num` is not a number. + # every (every pred lst) +Return `#t` if predicate function `pred` is true for every value of `lst`. Otherwise `#f` is returned. + # exact - (exact? num) + (exact num) + +Return an exact representation of number `num`. # exact-integer? (exact-integer? num) +Returns `#t` if `num` is both exact and an integer; otherwise returns `#f`. + # exact? (exact? num) +Return `#t` if `num` is exact. + # expt (expt z1 z2) @@ -574,10 +584,14 @@ Raise an error with message `message` and one or more associated objects `obj`. (features) +Return a list of feature identifiers which `cond-expand` treats as true. + # floor (floor z) +Return an integer not larger than `z`. + # floor-quotient (floor-quotient n m)