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

Y2016.D01

Description

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

Synopsis

Documentation

blockDistance #

Arguments

:: String

Input of directions

-> Int

Number of blocks traveled

Find number of blocks traveled per list of instructions

visitedTwice #

Arguments

:: String

Input of directions

-> Maybe Int

Possible block that is visited twice

Find first block that is visited twice