projects
/
advent-of-code-22.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f9c61
)
Removed debugging prints
author
Neil Smith
<NeilNjae@users.noreply.github.com>
Mon, 5 Dec 2022 11:19:48 +0000
(11:19 +0000)
committer
Neil Smith
<NeilNjae@users.noreply.github.com>
Mon, 5 Dec 2022 11:19:48 +0000
(11:19 +0000)
advent05/Main.hs
patch
|
blob
|
history
diff --git
a/advent05/Main.hs
b/advent05/Main.hs
index 9ec1d254707abaf10b2e7818813c7681050a8dbe..727822d430fb7f17d14aac9e4f40d526a7ddfe04 100644
(file)
--- a/
advent05/Main.hs
+++ b/
advent05/Main.hs
@@
-22,12
+22,7
@@
main =
do dataFileName <- getDataFileName
text <- TIO.readFile dataFileName
let ((wharfLines, colNames), moves) = successfulParse text
- -- print wharfLines
- -- print colNames
- -- print moves
let wharf = makeWharf wharfLines colNames
- -- print wharf
- -- print $ applyMove wharf (head moves)
putStrLn $ part1 wharf moves
putStrLn $ part2 wharf moves