Next: Arity, Previous: Procedures, Up: Procedures
Calls procedure with the elements of the following list as arguments:
(cons* object object ...)The initial objects may be any objects, but the last object (there must be at least one object) must be a list.
(apply + (list 3 4 5 6)) => 18 (apply + 3 4 '(5 6)) => 18 (define compose (lambda (f g) (lambda args (f (apply g args))))) ((compose sqrt *) 12 75) => 30
Returns
#tif object is a procedure; otherwise returns#f. If#tis returned, exactly one of the following predicates is satisfied by object:compiled-procedure?,compound-procedure?, orprimitive-procedure?.
Returns
#tif object is a compiled procedure; otherwise returns#f.
Returns
#tif object is a compound (i.e. interpreted) procedure; otherwise returns#f.