From: Neil Smith Date: Fri, 2 Dec 2016 13:33:04 +0000 (+0000) Subject: Tidied kb1 definition X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-16.git;a=commitdiff_plain;h=f5a48c6a7560298b0eebcd7c47d7edc0506bddb2 Tidied kb1 definition --- diff --git a/advent02.hs b/advent02.hs index 25b78c8..99df10c 100644 --- a/advent02.hs +++ b/advent02.hs @@ -4,11 +4,11 @@ import Data.Array.IArray type Position = (Int, Int) type Keyboard = Array Position Char -kb1 = [['x', 'x', 'x', 'x', 'x'], - ['x', '1', '2', '3', 'x'], - ['x', '4', '5', '6', 'x'], - ['x', '7', '8', '9', 'x'], - ['x', 'x', 'x', 'x', 'x']] +kb1 = ["xxxxx", + "x123x", + "x456x", + "x789x", + "xxxxx"] kb2 = ["xxxxxxx", "xxx1xxx",