tilia-0.2.0.0: corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head.hs
{-# LANGUAGE CPP #-}
{-# LANGUAGE TypeFamilies #-}
module Test.Example where
-- A method's Haddock and signature written once, after a conditional that
-- holds the head of the class in each branch.
#ifdef ENABLE_HOOK_ARGS
class Example e where
type Arg e
#else
class Example e where
#endif
-- | Evaluates an example.
evaluate :: e -> IO Bool