[Haskell-cafe] Simple type-class experiment turns out not so simple...

Brent Yorgey byorgey at seas.upenn.edu
Sun Jan 8 21:25:26 CET 2012


On Fri, Jan 06, 2012 at 10:51:58AM +0000, Steve Horne wrote:
> 
> If I specify both extensions (-XMultiParamTypeClasses and
> -XFlexibleInstances) it seems to work, but needing two language
> extensions is a pretty strong hint that I'm doing it the wrong way.

Not necessarily.  These two extensions in particular (and especially
the second) are quite uncontroversial.

-Brent



More information about the Haskell-Cafe mailing list