Keith Wansbrough <[EMAIL PROTECTED]> writes: > I can't believe that a simple "wc" implementation should be > 570 times slower in Haskell than OCaml - could someone investigate and > fix the test?
With code like this, I'm not surprised! main = do file <- getContents putStrLn $ show (length $ lines file) ++ " " ++ show (length $ words file) ++ " " ++ show (length file) Space-leak or what? Regards, Malcolm _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe