tilia-0.2.0.0: corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor.hs
{-# LANGUAGE GADTs #-}
module Garden.Harvest where
-- Each kind of harvest says what it leaves behind.
data Harvest a where
Early ::
Int -> -- ^ the week it is picked in
Harvest Int -- ^ the crop, ready to store
Late ::
String -> -- ^ the bed
Harvest String -- ^ the crop, ready to eat