Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed Sep 8, 2019
1 parent 099f150 commit 69cf710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
@@ -1,3 +1,5 @@
.stack-work/
wc.cabal
*~
*~

/data
2 changes: 1 addition & 1 deletion app/Main.hs
Expand Up @@ -9,7 +9,7 @@ import Simple
import Types
import Text.Printf

printResult (name, Counts{charCount, wordCount, lineCount}) = printf "%s %d %d %d" name (getSum lineCount) (getFlux wordCount) (getSum charCount)
printResult (name, Counts{charCount, wordCount, lineCount}) = printf "%s %d %d %d\n" name (getSum lineCount) (getFlux wordCount) (getSum charCount)

main :: IO ()
main = do
Expand Down

0 comments on commit 69cf710

Please sign in to comment.