aoc2021-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Day18

Description

 

Documentation

data Token a Source #

Constructors

Open 
Close 
Value a 

parser :: (MonadParsec e s m, Token s ~ Char, Num a) => m [Token a] Source #

add :: (Integral a, Ord a) => [Token a] -> [Token a] -> [Token a] Source #

magnitude :: Num a => [Token a] -> Maybe a Source #