projects
/
advent-of-code-17.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
979c51d
)
Added a type annotation
author
Neil Smith
<neil.git@njae.me.uk>
Tue, 19 Dec 2017 09:54:02 +0000
(09:54 +0000)
committer
Neil Smith
<neil.git@njae.me.uk>
Tue, 19 Dec 2017 09:54:02 +0000
(09:54 +0000)
src/advent19/advent19.hs
patch
|
blob
|
history
diff --git
a/src/advent19/advent19.hs
b/src/advent19/advent19.hs
index 98f6d21ea53077e21debd4a046d559b36d0ef3de..06a706715664533fb70dd484771afd481e531fda 100644
(file)
--- a/
src/advent19/advent19.hs
+++ b/
src/advent19/advent19.hs
@@
-44,6
+44,7
@@
delta Down = ( 1, 0)
delta Left = ( 0, -1)
delta Right = ( 0, 1)
+isJunction :: Char -> Bool
isJunction '+' = True
isJunction _ = False