www.delorie.com/gnu/docs/guile/data-rep_19.html   search  
 
Buy GNU books!


Untitled Document

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

1.2.5.3 Procedures

Guile provides two kinds of procedures: closures, which are the result of evaluating a lambda expression, and subrs, which are C functions packaged up as Scheme objects, to make them available to Scheme programmers.

(There are actually other sorts of procedures: compiled closures, and continuations; see the source code for details about them.)

Function: SCM scm_procedure_p (SCM x)
Return SCM_BOOL_T iff x is a Scheme procedure object, of any sort. Otherwise, return SCM_BOOL_F.


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