My solution in Haskell for Advent of code 2018 chalenge.
Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. https://adventofcode.com/2018/about .