www.delorie.com/gnu/docs/guile/guile_117.html   search  
 
Buy GNU books!


Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.2.4.3 Booleans

Here are functions and macros for operating on booleans.

Macro: SCM SCM_BOOL_T
Macro: SCM SCM_BOOL_F
The Scheme true and false values.

Macro: int SCM_NFALSEP (x)
Convert the Scheme boolean value to a C boolean. Since every object in Scheme except #f is true, this amounts to comparing x to #f; hence the name.

Macro: SCM SCM_BOOL_NOT (x)
Return the boolean inverse of x. If x is not a Scheme boolean, the result is undefined.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003