diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-09 23:18:16 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-09 23:20:00 +0200 |
commit | deee127a0e7d1803436033ff40d62f9bdf478c35 (patch) | |
tree | a315364bb5767fbda13776d6454f862871a07bc2 /doc | |
parent | Merge typecheck macro into c-parser. (diff) | |
download | calp-deee127a0e7d1803436033ff40d62f9bdf478c35.tar.gz calp-deee127a0e7d1803436033ff40d62f9bdf478c35.tar.xz |
Extend type-clauses with not.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ref/guile/util-type.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/ref/guile/util-type.texi b/doc/ref/guile/util-type.texi index 104b00b3..d389287e 100644 --- a/doc/ref/guile/util-type.texi +++ b/doc/ref/guile/util-type.texi @@ -22,11 +22,12 @@ into the argument list in the first position: (proc args ...) ⇒ (proc x args ...) @end example -The two primitives @code{and} and @code{or} are also available, which -both take an arbitrary number of predicates, and calls them in order, -with Scheme's usual short-circuiting rules. -@footnote{@code{and} and @code{or} doesn't have to be primitives, but -we would otherwise have one hell of a namespace conflict} +The primitives @code{and}, @code{or}, and @code{not} are also +available, which each take the same number of predicates as schemes +primitives of the same name, and calls them in order, with Scheme's +usual short-circuiting rules. @footnote{These don't have to be +primitives, but we would otherwise have one hell of a namespace +conflict} @defmac list-of variable type-clause Checks if @var{variable} is a list, and that every element satisfies type-clause. |