[racket] Polymorphism via compile time dispatch
Hello,
Here's a little experiment in compile time dispatch implemented in Chez
Scheme:
http://gist.github.com/585469
The experiment is dependent upon a feature particular to Chez Scheme
described in section 11.4. "Compile-time Values and Properties" in the
user's guide:
http://scheme.com/csug8/syntax.html#./syntax:h4
In particular, I'm using 'define-property'.
Is there a similar facility for Racket? Any tips for doing this sort of
thing in Racket are welcome. :-)
Ed