[1 of 1] Compiling Main ( sha1.lhs, interpreted )
import qualified Data.ByteString as B
main = B.getLine >>= B.putStrLn
Ok, modules loaded: Main.
*Main> :main
*** Exception: no buffering
And just to make sure it's not something to do with GHCi or anything
like that
main = getLine >>= putStrLn
[1 of 1] Compiling Main ( sha1.lhs, interpreted )
Ok, modules loaded: Main.
*Main> :main
hello
hello
Why am I getting an error when using the ByteString library?
Iain
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe