Macro: LAMBDA-REC

Documentation

Just like lambda except BODY can make recursive calls to the lambda by calling the function NAME.

Source

(defmacro lambda-rec (name args &body body)
  "Just like lambda except BODY can make recursive calls to the
  lambda by calling the function NAME."
  `(lambda ,args
     (labels ((,name ,args ,@body))
       (,name ,@args))))
Source Context