From: Neil Smith Date: Tue, 19 Dec 2017 09:54:02 +0000 (+0000) Subject: Added a type annotation X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-17.git;a=commitdiff_plain;h=59eb446f1a513ee9539b3a36bed08b475225a890 Added a type annotation --- diff --git a/src/advent19/advent19.hs b/src/advent19/advent19.hs index 98f6d21..06a7067 100644 --- 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