adventofcode-0.1.0.0: Haskell solutions to adventofcode
LicenseMIT
Maintainer@tylerjl
Safe HaskellSafe-Inferred
LanguageHaskell2010

Y2021.D09

Description

Solutions to the 2021 day 09 set of problems for adventofcode.com.

Synopsis

Documentation

part9A :: Text -> Int #

Solve part A

part9B :: Text -> Int #

Solve part B

parse9 :: Text -> SeaFloor #

Parse puzzle input into a Grid. I could probably do the conversion from `[[Int]]` to `Grid outside of the parser, but it's nice to go directly to the main data structure for the problem.