jw120 / aoc2018

Advent of Code 2018 (in Haskell)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of code 2018

Programming exercises from adventofcode.com

TODO

Make 9 faster

Notes

day03a took more than a minute with standard boxed arrays. Using unbox (but still immutable) arrays, reduced to a few seconds.

Tips to build

Normal commands

To compile: stack build To compile and run: stack run day01 To run: stack exec day01 To run doctests: stack test To run with debug info (e.g., for day04): stack run day04 -- -d

To set up

stack build intero stack install doctest

About

Advent of Code 2018 (in Haskell)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 86.4%Language:Racket 13.4%Language:Shell 0.2%