On 08/31/2013 09:27 PM, Charlie Paul wrote:
I believe that this is what you want:
http://www.haskell.org/haskellwiki/Num_instance_for_functions

On Sat, Aug 31, 2013 at 10:01 PM, Christopher Howard
<christopher.how...@frigidcode.com> wrote:

The author seemed to be subtly mocking the idea. It seemed to be suggesting that a Num instance for functions would imply the need for constant number functions, which leads to difficulties. But I don't see why one would have to take it that far.

In any case, I just tried the NumInstances package from Hackage and it seems to work great.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to