[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defstruct (resent due to lossage)
- To: "Timothy P. Daly" <DALY@IBM.COM>
- Subject: defstruct (resent due to lossage)
- From: Rob MacLachlan <RAM@C.CS.CMU.EDU>
- Date: Sun, 08 Feb 1987 05:04:00 -0000
- Cc: common-lisp@SAIL.STANFORD.EDU
- In-reply-to: Msg of 6 Feb 1987 12:08:19 EST from Timothy P. Daly <DALY at ibm.com>
Date: 6 February 1987, 12:08:19 EST
From: Timothy P. Daly <DALY at ibm.com>
To: common-lisp at sail.stanford.edu
Re: defstruct (resent due to lossage)
How can I define data structures that are pairs using defstruct?
How can I define data structures that contain pairs? What I want
to say is:
(defstruct (name (:type cons)) a b)
Believe it or not, there are some things you just can't do in Common
Lisp; this is one of them. Generally, if CLTL doesn't say that you
can do a thing, then it is not possible.
Rob