[Haskell-cafe] Why this exception occurs ?

L.Guo leaveye.guo at gmail.com
Fri May 25 03:19:51 EDT 2007


Hi.

In GHCi ver 6.6, why this happens ?

Prelude Data.ByteString> Data.ByteString.pack $! Prelude.map (`rem` 256) $ [0..511]
"*** Exception: divide by zero

--------------
L.Guo
2007-05-25



More information about the Haskell-Cafe mailing list