On Sun, May 13, 2007 at 08:30:41AM -0700, David Roundy wrote: > do l <- readFile "foo" > let len = length l > writeFile "bar" l > putStrLn $ "Length is " ++ show l
Oops, of course this should have been show len in the last line. -- David Roundy http://www.darcs.net _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe