[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: TYPE-OF-UNDERCONSTRAINED (Version 3)
- To: cl-cleanup@sail.stanford.edu
- Subject: Re: Issue: TYPE-OF-UNDERCONSTRAINED (Version 3)
- From: masinter.pa@Xerox.COM
- Date: 7 Jan 89 22:04 PST
- Cc: masinter.pa@Xerox.COM
- In-reply-to: your message of 12 Dec 88 16:00 PST
On p. 317, CLtL gives an example
(defstruct (binop (:type list))
(operator '? :type symbol)
operand-1
operand-2)
and says in the running text ...
"... and TYPE-OF will return LIST when given a BINOP structure."
I guess if the example survives in the standard it should be fixed.... I
don't see a compelling reason why
(TYPE-OF '(A B C)) should be LIST instead of CONS, do you?