Learn and discuss Lisp programming of all dialects
Skip to content
by anirban » Sun Jan 15, 2012 2:14 pm
by Kompottkin » Mon Jan 16, 2012 2:40 am
[1]> (stringp "abc")T[2]> (stringp 100)NIL
(typecase x (string (format t "~&X is a string.")) (number (format t "~&X is a number.")) (t (format t "~&X is... something.")))
by anirban » Mon Jan 16, 2012 6:39 am
Return to Common Lisp
Users browsing this forum: Google [Bot] and 3 guests