[Haskell-cafe] Are there arithmetic composition of functions?

Jerzy Karczmarczuk jerzy.karczmarczuk at unicaen.fr
Tue Mar 20 02:27:06 CET 2012


Richard O'Keefe:
>      class (Eq a, Show a) =>  Num a
>        where (+) (-) (*) negate abs signum fromInteger
>
> where functions are for good reason not members of Eq or Show.
This is an old song, changed several times. I have no intention to 
discuss, but please, Richard O'Keefe:
WHICH *GOOD* REASONS??

Thank you.

Jerzy Karczmarczuk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120320/7001630c/attachment.htm>


More information about the Haskell-Cafe mailing list