Go to the first, previous, next, last section, table of contents.


Booleans

Boolean values are those which are logically either TRUE or FALSE. They are returned as result values by operators like and and or, and accepted as arguments by operators like if.

Following CommonLisp, muf does not have a separate Boolean type; instead, it has a special value nil which represents FALSE, all other values being taken as representing TRUE in a boolean context. The standard true value is the constant t, but any other value, such as 12 or .lib.muf, will do as well.

The constant nil also represents the empty list. See section Lists.

Note: In Muq v -1.0.0, nil and t are actually a separate type boolean, as required by the Scheme standard. Programs should not be coded to depend on this: The CommonLisp standard requires nil and t to be symbols, and future Muq releases will switch to this setup.


Go to the first, previous, next, last section, table of contents.