Search

( case-lambda clause ... ) procedure?
clause⟩:= 
( formals body )
formals⟩:= 
( variable1 ... ) variable ( variable1 ... variable_n . variable_n+1 )
A CASE-LAMBDA expression evaluates to a procedure that accepts a variable number of arguments and is lexically scoped in the same manner as procedures resulting from LAMBDA expressions. When the procedure is called with some arguments V1 .. Vk, then the first <clause> for which the arguments agree with <formals> is selected, where agreement is specified as for the <formals> of a LAMBDA expression. The variables of <formals> are bound to fresh locations, the values V1 .. Vk are stored in those locations, the <body> is evaluated in the extended environment, and the results of <body> are returned as the results of the procedure call. It is an error for the arguments not to agree with the <formals> of any <clause>.
( cut slot-or-expr slot-or-expr ... ) procedure? ( cut slot-or-expr slot-or-expr ... <...> ) procedure?
slot-or-expr⟩:= 
<> expression
( cute slot-or-expr slot-or-expr ... ) procedure? ( cute slot-or-expr slot-or-expr ... <...> ) procedure?
slot-or-expr⟩:= 
<> expression
( lambda formals body ) procedure?
formals⟩:= 
( variable1 ... ) variable ( variable1 ... variable_n . variable_n+1 )
( make-parameter obj ) procedure? ( make-parameter obj [ procedure? converter ] ) procedure?
converter ( λ obj ) *
Returns a newly allocated parameter object, which is a procedure that accepts zero arguments and returns the value associated with the parameter object. Initially, this value is the value of (converter init), or of init if the conversion procedure converter is not specified. The associated value can be temporarily changed using parameterize, which is described below. The effect of passing arguments to a parameter object is implementation-dependent.
( option-processor [ option option ] ) procedure?
return ( λ [ option option ] [ string? / char? name ] [ string? arg ] seed ... ) ( values * ... )
( rec ( name variables ... ) body ... ) procedure? ( rec name expression )