Created
February 23, 2019 16:43
-
-
Save codesections/acf77371a4be6240b1c20b43c4245512 to your computer and use it in GitHub Desktop.
Lisp example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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