Next: , Up: syslib   [Index]


12.1 Low level boolean operations

The arguments bool must be booleans. The following bindings are exported by the library (vicare system booleans).

Comparison

Function: $boolean= bool1 bool2

Return #t if the arguments are equal; otherwise return #f.

Function: $boolean!= bool1 bool2

The arguments must be booleans. Return #t if the arguments are different; otherwise return #f.

Procedure: $boolean< bool1 bool2
Procedure: $boolean> bool1 bool2
Procedure: $boolean<= bool1 bool2
Procedure: $boolean>= bool1 bool2

Compare the boolean arguments according to the artificial comparison definition:

#t == #t
#f == #f
#f <  #t
Function: $boolean-min bool1 bool2
Function: $boolean-max bool1 bool2

Return the minimal or maximal boolean among the arguments.