[racket] Redefining selectors - another newbie question

From: Brad Long (brad at longbrothers.net)
Date: Thu Jul 1 10:35:43 EDT 2010

Thankyou racket gurus for your advice. My program using a "loop" now works:
(for-each (fn(x)(display x)(newline)) (.. 10 1)) (display "blastoff!")
I have another question, is it possible (preferably easy) to use dot 
notation for the auto-generated selectors (e.g. for (point x y z), instead 
of point-x can we use point.x)? I am not exactly sure how to redefine that 
since it is auto-created on construction of the struct.

I have just donned my flame-proof clothing.


Posted on the users mailing list.