[Haskell-cafe] Crash in Data.ByteString.Lazy.hPut

Don Stewart dons at galois.com
Mon Jan 28 17:24:49 EST 2008

> Hi there,
> Not sure where to raise bugs in hackage libraries, so I'm posting here. 
> If there is a better place, please let me know.
> The following code crashes with a divide by zero error when using the 
> package 'binary-0.4.'

Oh, hehe.  \x -> x `mod` 256 doesn't work if x :: Word8
That's your bug :)

-- Don

More information about the Haskell-Cafe mailing list