[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue: EQUAL-STRUCTURE (Version 3)
- To: masinter.pa@Xerox.COM
- Subject: Issue: EQUAL-STRUCTURE (Version 3)
- From: Jon L White <firstname.lastname@example.org>
- Date: Mon, 26 Sep 88 17:37:09 PDT
- Cc: cl-cleanup@Sail.stanford.edu
- In-reply-to: masinter.pa@Xerox.COM's message of 23 Sep 88 02:13 PDT <880923-021329-3994@Xerox>
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 --