TypeCompose 0.9.9 → 0.9.10
raw patch · 2 files changed
+5/−1 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- TypeCompose.cabal +3/−1
- src/Control/Compose.hs +2/−0
TypeCompose.cabal view
@@ -1,5 +1,5 @@ Name: TypeCompose-Version: 0.9.9+Version: 0.9.10 Synopsis: Type composition classes & instances Category: Composition, Control Cabal-Version: >= 1.6@@ -40,3 +40,5 @@ ghc-options: -Wall -- TODO: eliminate Pair or Zip++-- ghc-prof-options: -prof -auto-all
src/Control/Compose.hs view
@@ -904,10 +904,12 @@ ---- For Control.Applicative.Endo +#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 707 -- deriving instance Monoid o => Monoid (Const o a) instance Monoid o => Monoid (Const o a) where mempty = Const mempty mappend = inConst2 mappend+#endif -- newtype Endo a = Endo { appEndo :: a -> a }