
27 Oct
2009
27 Oct
'09
11:26 a.m.
[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