3 ms·
Everything is a class object in Common Lisp. [1]> (class-of (cons 1 2)) #<BUILT-IN-CLASS CONS> [2]> (class-of #\x) #<BUILT-IN-CLASS CHARACTER> [3]> (
by kazinator 7y ago
Everything is a class object in Common Lisp.
[1]> (class-of (cons 1 2))
#<BUILT-IN-CLASS CONS>
[2]> (class-of #\x)
#<BUILT-IN-CLASS CHARACTER>
[3]> (class-of nil)
#<BUILT-IN-CLASS NULL>
[4]> (class-of (function mapcar))
#<BUILT-IN-CLASS FUNCTION>