sln_2018_01
Copyright(c) Eric Mertens 2018
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Main

Description

https://adventofcode.com/2018/day/1

Day 1 gives us a list of differences to sum up. We compute the sum of these differences, and we search for duplicates in the partial sums of the differences list.

Synopsis

Documentation

main :: IO () Source #

Print the answers to the problem.

>>> :main
474
137041