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

Issue: EQUAL-STRUCTURE (Version 3)



re:     Proposal (EQUAL-STRUCTURE:STATUS-QUO):

      Clarify that EQUAL and EQUALP do not descend any structures or
      data types other than the ones explicitly specified in CLtL. 
      (CONSes, bit-vectors, strings, pathnames). EQUAL uses EQL 
      for numbers and EQ for all other types. 


This is definitely NOT the status quo.  You are describing EQUAL, but
definitely not EQUALP.  CLtL p81 says of EQUALP: "Objects that have
components are EQUALP if they are of the same type and corresponding
components are EQUALP."

Every implementation I've ever seen has in fact implemented EQUALP so
that it "descends" e.g. defstruct instances (among other things).


-- JonL --