0.7.12.39:
[sbcl.git] / src / code / target-type.lisp
index e561d87..bae3258 100644 (file)
      (values nil nil))
     (alien-type-type
      (values (alien-typep obj (alien-type-type-alien-type type)) t))
+    (negation-type
+     (multiple-value-bind (res win)
+        (ctypep obj (negation-type-type type))
+       (if win
+          (values (not res) t)
+          (values nil nil))))
     (hairy-type
      ;; Now the tricky stuff.
      (let* ((hairy-spec (hairy-type-specifier type))