|
2D or not 2E: msg#00030lisp.corman
FYI (and that is no typo below, the compiler complains "no 5E-H" on a reference to 5d-h!!! and the subject above comes from the original code in which I named a point structure 2d--got to 5D while experimenting with variations): (defstruct 5d (h 0 :type fixnum) (v 0 :type fixnum) ) 5D (let ((p (make-5d :h 1 :v 2))) (setf (5d-h p) 3)) ;;; An error occurred in function MACROEXPAND: ;;; Error: There is no SETF expansion method defined for (5E-H P) ;;; Entering Corman Lisp debug loop. ;;; Use :C followed by an option to exit. Type :HELP for help. ;;; Restart options: ;;; 1 Abort to top level. :c 1 ;;; Returning to top level loop. (defstruct 5k (h 0 :type fixnum) (v 0 :type fixnum) ) 5K (let ((p (make-5k :h 1 :v 2))) (setf (5k-h p) 3)) 3 -- kenny tilton clinisys, inc http://www.tilton-technology.com/ --------------------------------------------------------------- "Cells let us walk, talk, think, make love and realize the bath water is cold." -- Lorraine Lee Cudmore ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: cormanlisp-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: defmethod vs &aux?: 00030, JP Massar |
|---|---|
| Next by Date: | Re: 2D or not 2E: 00030, JP Massar |
| Previous by Thread: | Re: defmethod vs &aux?i: 00030, JP Massar |
| Next by Thread: | Re: 2D or not 2E: 00030, JP Massar |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |