Day09
Copyright(c) Eric Mertens 2021
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Main

Description

https://adventofcode.com/2021/day/9

Find the basins on the height map.

Synopsis

Documentation

main :: IO () Source #

top :: Ord a => Int -> [a] -> [a] Source #

Returns the n largest elements of a list

heightArray :: UArray Coord Char -> Heights Source #

Convert that ASCII grid into a grid of heights