- (nlambda name args xpr . xprs)syntax
Named version of lambda.
The resulting procedure is bound to the identifier name. This way, anonymous functions can be recursive as well.
(map (nlambda self (n) (if (zero? n) 1 (* n (self (- n 1))))) '(1 2 3 4 5))