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

defstruct (resent due to lossage)



    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