On Feb 24, 2010, at 08:53 , Fabian Roth wrote:
main = do messages <- readLazy
mapM_ (\x -> putStr $ show x ++ "\n") $ messages
Regardless of anything else going on, that second line will force everything to be read immediately.
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [email protected] system administrator [openafs,heimdal,too many hats] [email protected] electrical and computer engineering, carnegie mellon university KF8NH
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
