tilia-0.2.0.0: corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration-out'.hs
{-# LANGUAGE GADTs #-}
module Garden.Crop where
data Crop a where -- one constructor per kind of bed
Root :: Int -> Crop Int
Leaf :: String -> Crop String
class Plantable a where -- seeds and cuttings alike
depth :: a -> Int
instance Plantable Int where -- in millimetres
depth = id