Matthias, thanks for the confirmation that macros are the answer. Yes, mutation 
could be simpler. I'm learning more doing it functionally.

Alex, thanks for pointing out struct-copy. I hadn't read that part of the 
Racket Guide yet.

Would it be possible to write a macro that when invoked within a class 
definition would generate a "new-copy" method that behaves like struct-copy? I 
would guess that Racket has enough introspection to allow that.

Best regards,
-Steve

--  
Steve Byan
steveb...@me.com
Littleton, MA



-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to