[Haskell-cafe] Re: Numeric type classes

Tim Walkenhorst tim.walkenhorst at gmx.de
Tue Sep 12 13:01:56 EDT 2006


Bryan Burgers schrieb:

> [...] it would probably be a little bit of a pain to have to define 
> instances
> of each data declaration (Integer, Int, Float, Matrix, Complex, etc.)
> on each of these seperate classes--especially when being in a certain
> class usually implies being in another [...]

Something like John Meacham's class alias proposal might help here:
http://repetae.net/john/recent/out/classalias.html


Tim


More information about the Haskell-Cafe mailing list