Felipe Lessa wrote:
I should point out just in case that 1 / 0 isn't infinity on all
Fractional types (e.g. Rational). I guess it shouldn't cause a problem
with your library, but a warning on the Haddock entry would be nice to
avoid surprising people who didn't see the internal implementation.
Nice lib, by the way. Thanks,
Ah, interesting. I missed that one. I'm wondering if there's any
portable notion of infinity on Rationals. GHC.Real uses 1%0, but Hugs
gives an overflow for toRational(1/0)... Time to go digging.
In the mean time I'll add a note about it. Thanks.
--
Live well,
~wren
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe