packages feed

tilia-0.2.0.0: corpora/vendored/haddock/comment/divider-above-a-haddock-out'.hs

module Data.Orchard.Harvest where

---------------------------------------------------------------------------
-- | Pick whatever is ripe.
pick :: [Int] -> [Int]
pick = filter (> 0)

-- Kept for the old reports.
---------------------------------------------------------------------------
-- | Weigh what was picked.
weigh :: [Int] -> Int
weigh = sum

class Store a where
    -------------------------------------------------------------------------
    -- | Put the harvest away.
    store :: a -> IO ()