projects
/
advent-of-code-17.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a type annotation
[advent-of-code-17.git]
/
src
/
advent19
/
advent19.hs
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