One of the design goals of the generics system is to avoid relying on
global state, which would lead to CLOS-style spooky-action-at-a-distance.
For that reason, you can only define methods for a given struct type and
interface if you're either (1) defining the struct type (via #:methods)
or (2) de
Hi all,
I have seen (and used) generic interfaces for structures in Racket. However,
they are limited to the same degree as message-passing OOP is limited: the
dispatch is based on one argument only.
I know there is Swindle (is it still active?) and I could find GLS in packages
for DrRacket. I
2 matches
Mail list logo