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

Y2015.D01

Description

Solutions to the day 01 set of problems for adventofcode.com.

Synopsis

Documentation

level #

Arguments

:: Text

List of input open/close parens

-> Int

Final elevator level

Find final level from list of elevator movements

basement #

Arguments

:: Text

List of input open/close parens

-> Maybe Int

Possible position in string that arrives at zero

Find position that arrives at level 0