2D or not 2E
Kenny Tilton <[email protected]>
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
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:
[email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/