Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (9 sloc) 0.27 kb
5ddfaf3 biomunky Initial commit. Land of Lisp
authored
1 ; lisp has cond and case
2
3 (defun pudd-eater (person)
4 (case person
5 ((henry) "it was henry")
6 ((MrSöze) "was the usual suspect")
7 (otherwise "hmm someone else!")))
8
9 (print (pudd-eater 'henry))
10 (print (pudd-eater 'MrSöze))
11 (print (pudd-eater 'dan))
12
13
14
15
Something went wrong with that request. Please try again.