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

:conc-name



  Lisp question:

  I create a simple structure:

    (defstruct (a-simple-structure (:conc-name nil))
       a-simple-slot)

    (setf a-simple-instance (make-a-simple-structure))


  Now, according to CLTL (pg 476: 19.5 Defstruct Options),
  it seems to me that I should be able to reference 
  a-simple-slot with (a-simple-slot a-simple-instance).

  Instead, I seem to need (nila-simple-slot a-simple-instance).

  Is this a bug, or am I simply missing something?

  Thanks ... Rick