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

6.15.1 Procedures

Builtin Class: <procedure>

Function: procedure? obj
[R5RS] Returns #t if obj is a procedure, #f otherwise.

Function: apply proc arg1 ... args
[R5RS] Calls a procedure proc with a list of arguments, (arg1 ... . args). The last argument args must be a proper list. Returns (a) value(s) proc returns.
 
(apply list 'a 'b '(c d e)) => (a b c d e)

(apply + 1 2 '(3 4 5))      => 15

6.15.1.1 Mapping  
6.15.1.2 Combinators  
6.15.1.3 Optional argument parsing  
6.15.1.4 Procedure arity  



This document was generated by Ken Dickey on November, 28 2002 using texi2html