aoc2016

Safe HaskellNone
LanguageHaskell2010

Day1

Description

 

Documentation

data Orientation #

Constructors

North 
East 
South 
West 

walk :: Num a => Orientation -> a -> (a, a) -> (a, a) #

expand :: Enum a => Orientation -> (a, a) -> (a, a) -> [(a, a)] #

loop :: (Num a, Read a) => (Orientation, (a, a)) -> String -> (Orientation, (a, a)) #

main :: IO () #