[Haskell-cafe] Extending the idea of a general Num to other types?

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Sep 5 12:40:20 EDT 2007


Hello Simon,

Wednesday, September 5, 2007, 12:56:18 PM, you wrote:

>         String is not an instance of class Foo  -- single param
>         No instance for (Bar String Int)                -- multi-param

> Would that be better (single-param case is easier), or worse (inconsistent)?

easier - most classes are one-parameter



-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list