From f5a48c6a7560298b0eebcd7c47d7edc0506bddb2 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Fri, 2 Dec 2016 13:33:04 +0000 Subject: [PATCH] Tidied kb1 definition --- advent02.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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", -- 2.34.1