>>> putStr "Hello, World!" Hello, World!
>>> putStr "\0052\0042\0050" 4*2
>>> let f = forkIO . hPutStr stdout >>> in do hSetBuffering stdout NoBuffering; f "This is a longer string"; f ":D"; f "Hello Haskell"; pure () This: HDiesl lao lHoansgkeerl lstring
>>> let f = forkIO . hPutStr stdout >>> in do hSetBuffering stdout LineBuffering; f "This is a longer string"; f ":D"; f "Hello Haskell"; pure () This is a longer string:DHello HaskellThis operation may fail with: