License | MIT |
---|---|
Maintainer | @tylerjl |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Solutions to the day 02 set of problems for adventofcode.com.
Synopsis
- data Present = Present Int Int Int
- parsePresents :: Text -> Maybe [Present]
- surfaceArea :: [Present] -> Int
- ribbonLength :: [Present] -> Int
Documentation
Represents a present in three dimensions
Parse presents from an input string
Find total surface area from list of Present
s
Find required length of ribbon for a list of presents.