2 ms·
Common Lisp code does have checks for NIL. When they are missing you get bugs like this one: https://bugs.launchpad.net/sbcl/+bug/2002244 https://bugs.launchp
by pfdietz 4y ago
Common Lisp code does have checks for NIL. When they are missing you get bugs like this one:
https://bugs.launchpad.net/sbcl/+bug/2002244 https://bugs.launchpad.net/sbcl/+bug/2002244
https://sourceforge.net/p/sbcl/sbcl/ci/06f1639e53e99365f48a119b030202d2dbfef0f5/ https://sourceforge.net/p/sbcl/sbcl/ci/06f1639e53e99365f48a1...
If you are calling a generic function you can sometimes avoid such checks by introducing methods specialized on the type NULL (which contains only NIL).