projects
/
advent-of-code-20.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dddb8c7
)
More tidying
author
Neil Smith
<neil.git@njae.me.uk>
Thu, 10 Dec 2020 11:20:28 +0000
(11:20 +0000)
committer
Neil Smith
<neil.git@njae.me.uk>
Thu, 10 Dec 2020 11:20:28 +0000
(11:20 +0000)
advent03/src/advent03.hs
patch
|
blob
|
history
diff --git
a/advent03/src/advent03.hs
b/advent03/src/advent03.hs
index 5c317a284925f9a3b67ea79a898a6d4b91645171..1b7f8cf6dded7af82e83ff6b90ef16549ffd29cc 100644
(file)
--- a/
advent03/src/advent03.hs
+++ b/
advent03/src/advent03.hs
@@
-9,7
+9,6
@@
main :: IO ()
main =
do text <- readFile "data/advent03.txt"
let (trees, maxCorner) = readGrid text
- -- print $ trees == rg2 text
print $ part1 trees maxCorner
print $ part2 trees maxCorner