[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some invariants



(class-of (make-instance x)) = x

is not as useful an invariant to protect. The weaker requirement, namely

(typep (make-instance x) x)

only implies (subtypep (class-of (make-instance x)) x).