From 59eb446f1a513ee9539b3a36bed08b475225a890 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Tue, 19 Dec 2017 09:54:02 +0000 Subject: [PATCH] Added a type annotation --- src/advent19/advent19.hs | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1