Skip to content

Instantly share code, notes, and snippets.

@codesections
Created February 23, 2019 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codesections/acf77371a4be6240b1c20b43c4245512 to your computer and use it in GitHub Desktop.
Save codesections/acf77371a4be6240b1c20b43c4245512 to your computer and use it in GitHub Desktop.
Lisp example
(defun factorial (n)
(if (zerop n) 1 (* n (factorial (1- n)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment