Created
December 18, 2016 23:55
-
-
Save bigos/d50c6f8fc08c677f5822d7032c97feed to your computer and use it in GitHub Desktop.
Unfolded lisp code
This file contains 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 max-int (a) | |
(cond ((null a) | |
(error "empty list")) | |
((null (cdr a)) | |
(car a)) | |
(T | |
(max (car a) | |
(max-int (cdr a)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment