On Aug 21, 2007, at 22:13 , Twan van Laarhoven wrote:

Other rules that could be interesting are:
> forall a b. fromInteger a + fromInteger b = fromInteger (a + b)

I don't think this will work, a and b have to be the same type.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


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

Reply via email to