aoc2018-0.1.0.0: Advent of Code 2018 solutions and auto-runner

Copyright(c) Justin Le 2018
LicenseBSD3
Maintainerjustin@jle.im
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

AOC.Challenge.Day01

Description

Day 1! See AOC.Solver for the types used in this module!

Synopsis

Documentation

day01a :: [Int] :~> Int Source #

Here we have a basic sum of numbers.

day01b :: [Int] :~> Int Source #

Here we compute a running sum on an infinitely repeated list of inputs, and then use firstRepeated to get the first repeated item in the list of running sums.