Next: , Previous: , Up: bytevectors 8   [Index]


27.2.2 Interface conventions

The following conventions hold:

In the procedure specifications:

An argument followed by ... means zero–or–more elements. So the procedure with the signature:

sum-squares x ...

takes zero or more arguments (x, …), while the procedure with signature:

spell-check doc dict1 dict2 ...

takes two mandatory arguments (doc and dict1) and zero or more optional arguments (dict2 ...).

If a procedure is said to return “unspecified”, this means that nothing at all is known about what the procedure returns; such a procedure is not even required to be consistent from call to call; it is simply required to return a value (or values) that may be passed to a command continuation, e.g. as the value of an expression appearing as a non–terminal subform of a begin expression.

Unless explicitly stated: comparison is simply done on individual bytes of the bytevector, case–insensitive comparison is done converting the bytes to characters with integer->char and then using the functions:

char-ci=? char-ci<? char-ci>? char-ci<=? char-ci>=?

provided by the underlying implementation, or by case–folding characters with the operation:

(char-downcase (char-upcase (integer->char byte)))

where the two case–mapping operations are assumed to work for characters in the range allowed by ASCII encoding.


Next: , Previous: , Up: bytevectors 8   [Index]