RECUR can be downloaded with Quicklisp, and the source contributed to/viewed here.
Example usage:
(defun factorial (n)
(recur fact ((n n)
(prod 1))
(if (zerop n)
prod
(fact (1- n)
(* n prod)))))
RECUR can be downloaded with Quicklisp, and the source contributed to/viewed here.
Example usage:
(defun factorial (n)
(recur fact ((n n)
(prod 1))
(if (zerop n)
prod
(fact (1- n)
(* n prod)))))