Changeset 477


Ignore:
Timestamp:
Feb 6, 2004, 11:32:05 AM (21 years ago)
Author:
Gary Byers
Message:

Slot type predicates use CTYPEP, to (kind of) deal with (FUNCTION ...)
types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-typesys.lisp

    r398 r477  
    39663966              (handler-case
    39673967                  (let* ((ctype (specifier-type type)))
    3968                     #'(lambda (value) (%%typep value ctype)))
     3968                    #'(lambda (value)
     3969                        (multiple-value-bind (win sure) (ctypep value ctype)
     3970                          (or (not sure) win))))
    39693971                (parse-unknown-type (c)
    39703972                  (declare (ignore c))
     
    39753977                          (setf (slot-value spec 'type-predicate)
    39763978                                #'(lambda (value) (%%typep value nowctype))))
    3977                         (%%typep value nowctype)))))))))
    3978 
     3979                        (multiple-value-bind (win sure)
     3980                            (ctypep value nowctype)
     3981                          (or (not sure) win))))))))))
     3982
Note: See TracChangeset for help on using the changeset viewer.