A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
Since there is no primary method defined for free-resource calling it on NIL will signal an error, which doesn't seem to be desired:
* (sketch::free-resource nil)
There is no primary method for the generic function
#<STANDARD-GENERIC-FUNCTION SKETCH::FREE-RESOURCE (3)>
when called with arguments
(NIL).
[Condition of type SB-PCL::NO-PRIMARY-METHOD-ERROR]
See also:
Common Lisp Hyperspec, 7.6.6.2 [:section]
Since there is no primary method defined for
free-resource
calling it onNIL
will signal an error, which doesn't seem to be desired: