Added more docs

This commit is contained in:
Justin Ethier 2021-03-29 22:51:48 -04:00
parent 72e365e21a
commit cdf6426435

View file

@ -363,30 +363,44 @@ If the selected `{clause}` or else clause uses the `=>` alternate form, then the
(ceiling z) (ceiling z)
Returns the smallest integer not smaller than `z`.
# char<=? # char<=?
(char<=? c1 c2 c3 ...) (char<=? c1 c2 c3 ...)
Return `#t` if the results of passing the arguments to `char->integer` are monotonically increasing or equal.
# char<? # char<?
(char<? c1 c2 c3 ...) (char<? c1 c2 c3 ...)
Return `#t` if the results of passing the arguments to `char->integer` are respectively equal, monotonically increasing.
# char=? # char=?
(char=? c1 c2 c3 ...) (char=? c1 c2 c3 ...)
Return `#t` if the results of passing the arguments to `char->integer` are equal.
# char>=? # char>=?
(char>=? c1 c2 c3 ...) (char>=? c1 c2 c3 ...)
Return `#t` if the results of passing the arguments to `char->integer` are monotonically decreasing or equal.
# char>? # char>?
(char>? c1 c2 c3 ...) (char>? c1 c2 c3 ...)
Return `#t` if the results of passing the arguments to `char->integer` are monotonically decreasing.
# complex? # complex?
(complex? obj) (complex? obj)
Return `#t` if `obj` is a complex number, `#f` otherwise.
# cond # cond
*Syntax* *Syntax*
@ -468,14 +482,20 @@ A `cond-expand` is then expanded by evaluating the `{feature requirement}`'s of
(current-error-port) (current-error-port)
Returns the current error port (an output port).
# current-input-port # current-input-port
(current-input-port) (current-input-port)
Return the current input port.
# current-output-port # current-output-port
(current-output-port) (current-output-port)
Return the current output port.
# define-record-type # define-record-type
*Syntax* *Syntax*
@ -484,10 +504,20 @@ A `cond-expand` is then expanded by evaluating the `{feature requirement}`'s of
{constructor} {pred} {field} ...) {constructor} {pred} {field} ...)
Create a new record type.
Record-type definitions are used to introduce new data
types, called record types. Like other definitions, they can
appear either at the outermost level or in a body. The values of a record type are called records and are aggregations
of zero or more fields, each of which holds a single location. A predicate, a constructor, and field accessors and
mutators are defined for each record type.
# denominator # denominator
(denominator n) (denominator n)
Return the denominator of `n`.
# do # do
*Syntax* *Syntax*
@ -508,10 +538,14 @@ A `cond-expand` is then expanded by evaluating the `{feature requirement}`'s of
(eof-object) (eof-object)
Return the end of file (EOF) object.
# error # error
(error message obj ...) (error message obj ...)
Raise an error with message `message` and one or more associated objects `obj`.
# even? # even?
(even? num) (even? num)