Node:Procedures, Next:, Previous:Vector Data, Up:Non-immediate Datatypes



18.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.)

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