This behaviour is not what I expect after reading the description at
http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:round
. Given that this behaviour has caused a bit of confusion I think a
change to the documention might be in order.
The authority here is the report which says
"round x returns the nearest integer to x, the even integer if x is
equidistant between two integers."
However I agree the haddock ought to mirror the report.
Jules
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe