leaveye.guo: > 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
Interesting... Is that just, Data.ByteString.pack $ [0..255] ++ [0..255] ? -- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe