logo       

2D or not 2E: msg#00030

lisp.corman

Subject: 2D or not 2E

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>
Google Custom Search

News | FAQ | advertise