On 8/3/10 3:27 AM, Neil Brown wrote:
So you can get the same function without needing to add a type-class.
Or is it that you envisage other tolerance specifications besides
Digit? If so, I wonder if this flexibility complicates your API
unnecessarily. If you removed those type-classes and just stuck with
Digits, the size of your API documentation would halve, and make the
docs a lot more readable.
Yes, I wanted to give the user the ability to create their own tolerance
specifications. I figured that it was better to make it possible to do
this within this library then to force the user to roll their own
library if they turned out to need this functionality.
Cheers,
Greg
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe