Main
Description
https://adventofcode.com/2015/day/24
data Packages Source #
Constructors
Fields
Defined in Main
Methods
showsPrec :: Int -> Packages -> ShowS #
show :: Packages -> String #
showList :: [Packages] -> ShowS #
(==) :: Packages -> Packages -> Bool #
(/=) :: Packages -> Packages -> Bool #
compare :: Packages -> Packages -> Ordering #
(<) :: Packages -> Packages -> Bool #
(<=) :: Packages -> Packages -> Bool #
(>) :: Packages -> Packages -> Bool #
(>=) :: Packages -> Packages -> Bool #
max :: Packages -> Packages -> Packages #
min :: Packages -> Packages -> Packages #
noPackages :: Packages Source #
addPackage :: Int -> Packages -> Packages Source #
search :: Int -> [Int] -> Maybe Int Source #
main :: IO () Source #