Jump to content

Null object: Difference between revisions

(Fixing an error in Objective-C semantics)
Line 144:
<lang lisp>(let [x nil]
(println "Object is" (if (nil? x) "nil" "not nil")))</lang>
 
Test wether symbol <code>foo</code> is defined:
 
<lang lisp>(find (ns-interns *ns*) 'foo)</lang>
 
Undefining <code>foo</code>:
 
<lang lisp>(ns-unmap *ns* 'foo)</lang>
 
=={{header|Common Lisp}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.