packages feed

tilia-0.2.0.0: corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one-out.hs

{-# LANGUAGE CPP #-}
{-# LANGUAGE TypeFamilies #-}

module Kitchen.Pot where

instance
#ifdef WITH_TIMERS
  Cooks (t -> Stew) where
  type Timer (t -> Stew) = t
#else
  Cooks (() -> Stew) where
#endif
  cook f = simmer (f ())