Skip to content

Commit

Permalink
Day 13: More legible letters
Browse files Browse the repository at this point in the history
  • Loading branch information
amalloy committed Dec 13, 2021
1 parent 435dbb9 commit f98c07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion day13/src/Main.hs
Expand Up @@ -35,7 +35,7 @@ part2 (Input p fs) = let maxY = last [y | Y := y <- fs]
y <- [0..maxY]
pure $ do
x <- [0..maxX]
pure $ if S.member (Point x y) p' then '#' else '.'
pure $ if S.member (Point x y) p' then '#' else ' '

prepare :: String -> Input
prepare = fromMaybe (Input mempty mempty) . (=~ input)
Expand Down

0 comments on commit f98c07f

Please sign in to comment.