packages feed

functor-combo 0.3.4 → 0.3.5

raw patch · 2 files changed

+4/−2 lines, 2 filesdep −base-orphansdep ~base

Dependencies removed: base-orphans

Dependency ranges changed: base

Files

functor-combo.cabal view
@@ -1,5 +1,5 @@ Name:                functor-combo-Version:             0.3.4+Version:             0.3.5 Cabal-Version:       >= 1.6 Synopsis:            Functor combinators with tries & zippers Category:            Data
src/FunctorCombo/Functor.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE TypeOperators, EmptyDataDecls, StandaloneDeriving #-} {-# LANGUAGE DeriveFunctor, DeriveFoldable, DeriveTraversable #-}-{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE TypeFamilies, CPP #-}  {-# OPTIONS_GHC -Wall #-} {-# OPTIONS_GHC -fno-warn-orphans #-}@@ -112,8 +112,10 @@ -- TODO: replace explicit definition with deriving, when the compiler fix -- has been around for a while. +#if !MIN_VERSION_base(4,7,0) deriving instance Foldable    (Const b) deriving instance Traversable (Const b)+#endif  -- instance Foldable (Const b) where --   -- fold (Const _) = mempty