[Haskell-cafe] FGL instance constraint

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sat May 1 03:02:28 EDT 2010


"Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu> writes:

> On May 1, 2010, at 02:38 , Jason Dagit wrote:
>> Why wasn't the Graph class designed this way?  My guess:  It was
>> probably a decision that predated multiparameter type classes.
>
>
> Or a specific decision was made to stick to Haskell'98 compatibility.

I would also hazard a guess that it predates MPTCs (but don't know when
that extension that came out so I can't be sure).

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list