sln_2017_19
Copyright(c) Eric Mertens 2017
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Main

Description

https://adventofcode.com/2017/day/19

Day 19 has us follow an ASCII art trail and report on the letters we find along the way as well as the total trail path length.

Synopsis

Documentation

main :: IO () Source #

Print the solutions to both parts of day 19. Input file can be overridden via the command-line arguments.

toPath Source #

Arguments

:: UArray Coord Char

map

-> Coord

direction

-> Coord

location

-> String

path

Return the path given a map, current travel direction, and current location.