previous up next     contents index
Next: Global Constants Up: Scheme Values and Types Previous: Scheme Values and Types

Standard Types

These are the standard simple types:

 

The predicates  SCHEME_NUMBERP returns TRUE for all numerical types;  SCHEME_REALP returns TRUE for all non-complex numerical types.  SCHEME_NUM_VAL extracts a fixnum or a fixnum approximation for a flonum (an error is raised if there is no acceptable approximation).

These are the procedure types:

 

The macro  SCHEME_PROCP returns 1 for all procedure types and 0 for anything else.

These types are used only by syntax extenders:


previous up next     contents index
Next: Global Constants Up: Scheme Values and Types Previous: Scheme Values and Types

PLT