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

2007-09-05 Thread Bulat Ziganshin
Hello Simon, Wednesday, September 5, 2007, 11:19:28 AM, you wrote: when you come across a case where GHC produces an unhelpful message, send it in, along with the program that produced it, i have put such tickets about year ago :) basically, it was about just

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

2007-09-05 Thread Bulat Ziganshin
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 -