
14 Dec
2007
14 Dec
'07
8:11 a.m.
* Peter Padawitz wrote:
I'd like to define several instances of the same type class with the same type variable instance. Only method instances differ. How can I do this without writing copies of the type class?
Define the type class in a module named "MyClass". Define the each instance in a module named "MyInstanceX" where X is a version number. Include only the "MyInstanceX" module, you currently need.