tilia-0.2.0.0: corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional.hs
{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-- A class of a deriving clause that only some configurations give a
-- Haddock comes out once, after the conditional of the Haddock.
module Data.Patch.MapWithMove (PatchMapWithMove (..)) where
newtype PatchMapWithMove k v = PatchMapWithMove'
{ -- | Extract the underlying 'PatchMapWithPatchingMove k (Proxy v)'
unPatchMapWithMove' :: PatchMapWithPatchingMove k (Proxy v)
}
deriving ( Show, Read, Eq, Ord
-- Haddock cannot handle documentation here before GHC 8.6
,
#if __GLASGOW_HASKELL__ >= 806
-- | Compose patches having the same effect as applying the
-- patches in turn.
#endif
Semigroup
, Monoid
)