aboutsummaryrefslogtreecommitdiff
path: root/execs/Day15.hs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-12-16 07:27:38 +0000
committerAkshay <[email protected]>2020-12-16 07:27:38 +0000
commit8c1193fece01bb80e86d8cc36efcf8820a6ccb46 (patch)
treef13ed4cdb33e748f596db9b7e7a2b08d8b3ba0ef /execs/Day15.hs
parent38f3a717b0f8095fb05b9be0bebd158474eb7618 (diff)
format *
Diffstat (limited to 'execs/Day15.hs')
-rw-r--r--execs/Day15.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/execs/Day15.hs b/execs/Day15.hs
index cd498fb..c54e331 100644
--- a/execs/Day15.hs
+++ b/execs/Day15.hs
@@ -1,8 +1,8 @@
1module Main where 1module Main where
2 2
3import Data.Maybe 3import Data.List.Split
4import Data.List.Split 4import qualified Data.Map as M
5import qualified Data.Map as M 5import Data.Maybe
6 6
7run :: [Int] -> Int -> [Int] -> Int 7run :: [Int] -> Int -> [Int] -> Int
8run ls start input = fst $ foldl fn (start, startMap) ls 8run ls start input = fst $ foldl fn (start, startMap) ls