Lisp HUG Maillist Archive

LWW 4.2.7 defstruct and make-instance

I think I've even asked this here before..., but can't remember how do it.

How do I make

(defstruct a)
(make-instance 'a)
work?

I think there is some global flag I need to set?

Would it be wrong to do

(defmethod ((x struct-class) (make-structure x))

would this break other things??

Rene.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


Updated at: 2020-12-10 08:55 UTC