Skip to content

Commit

Permalink
Problem 2: Use putStrLn
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjbray committed Jan 9, 2013
1 parent 75ca1c3 commit fb83826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import System.IO
main = do
handle <- openFile "2.data" ReadMode
contents <- hGetContents handle
putStr $ filter isLetter contents
putStrLn $ filter isLetter contents
hClose handle

0 comments on commit fb83826

Please sign in to comment.