X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Ftypep.lisp;h=2c461ed7097e0c9efbc4aed4bf85235b48dd4c75;hb=5eb97830eca716fef626c6e12429c99c9b97e3c8;hp=b82f92c1b78912239c86f1b9dcb07e63027443ba;hpb=b08344ddbb8d0193054b72c01be7e367422ccf03;p=sbcl.git diff --git a/src/code/typep.lisp b/src/code/typep.lisp index b82f92c..2c461ed 100644 --- a/src/code/typep.lisp +++ b/src/code/typep.lisp @@ -114,6 +114,12 @@ (dolist (type (union-type-types type)) (when (%%typep object type) (return t)))) + ;; MNA: cons compound-type patch + ;; FIXIT: all commented out +; (cons-type +; (and (consp object) +; (%%typep (car object) (cons-type-car-type type)) +; (%%typep (cdr object) (cons-type-cdr-type type)))) (unknown-type ;; dunno how to do this ANSIly -- WHN 19990413 #+sb-xc-host (error "stub: %%TYPEP UNKNOWN-TYPE in xcompilation host")