Tag Archives: lisp

Lisp Reference

A collection of lisp snippets I’ll be adding to as I learn more. Factorial (recursive function) (defun factorial (n) (if (= n 0) 1 (if (> n 0) (* n (factorial (- n 1))))))

Posted in Code | Also tagged | Leave a comment