packages feed

tilia-0.2.0.0: corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor-out.hs

{-# LANGUAGE GADTs #-}

module Garden.Harvest where

-- Each kind of harvest says what it leaves behind.
data Harvest a where
  Early ::
    -- | the week it is picked in
    Int ->
    -- | the crop, ready to store
    Harvest Int
  Late ::
    -- | the bed
    String ->
    -- | the crop, ready to eat
    Harvest String