indexed-traversable 0.1.4 → 0.1.5
raw patch · 1 files changed
+19/−6 lines, 1 filesdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Data.Foldable.WithIndex: ($dmifoldMap) :: (FoldableWithIndex i f, TraversableWithIndex i f, Monoid m) => (i -> a -> m) -> f a -> m
+ Data.Functor.WithIndex: ($dmimap) :: (FunctorWithIndex i f, TraversableWithIndex i f) => (i -> a -> b) -> f a -> f b
+ Data.Traversable.WithIndex: ($dmitraverse) :: (TraversableWithIndex i t, i ~ Int, Applicative f) => (i -> a -> f b) -> t a -> f (t b)
- Data.Foldable.WithIndex: class Foldable f => FoldableWithIndex i f | f -> i
+ Data.Foldable.WithIndex: class Foldable f => FoldableWithIndex i (f :: Type -> Type) | f -> i
- Data.Foldable.WithIndex: ifoldMap :: (FoldableWithIndex i f, TraversableWithIndex i f, Monoid m) => (i -> a -> m) -> f a -> m
+ Data.Foldable.WithIndex: ifoldMap :: (FoldableWithIndex i f, Monoid m) => (i -> a -> m) -> f a -> m
- Data.Foldable1.WithIndex: class (Foldable1 f, FoldableWithIndex i f) => Foldable1WithIndex i f | f -> i
+ Data.Foldable1.WithIndex: class (Foldable1 f, FoldableWithIndex i f) => Foldable1WithIndex i (f :: Type -> Type) | f -> i
- Data.Functor.WithIndex: class Functor f => FunctorWithIndex i f | f -> i
+ Data.Functor.WithIndex: class Functor f => FunctorWithIndex i (f :: Type -> Type) | f -> i
- Data.Functor.WithIndex: imap :: (FunctorWithIndex i f, TraversableWithIndex i f) => (i -> a -> b) -> f a -> f b
+ Data.Functor.WithIndex: imap :: FunctorWithIndex i f => (i -> a -> b) -> f a -> f b
- Data.Traversable.WithIndex: class (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t) => TraversableWithIndex i t | t -> i
+ Data.Traversable.WithIndex: class (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t) => TraversableWithIndex i (t :: Type -> Type) | t -> i
- Data.Traversable.WithIndex: itraverse :: (TraversableWithIndex i t, i ~ Int, Applicative f) => (i -> a -> f b) -> t a -> f (t b)
+ Data.Traversable.WithIndex: itraverse :: (TraversableWithIndex i t, Applicative f) => (i -> a -> f b) -> t a -> f (t b)
Files
- indexed-traversable.cabal +19/−6
indexed-traversable.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: indexed-traversable-version: 0.1.4+version: 0.1.5 build-type: Simple license: BSD2 license-file: LICENSE@@ -40,15 +40,22 @@ || ==9.0.2 || ==9.2.8 || ==9.4.8- || ==9.6.5- || ==9.8.2+ || ==9.6.6+ || ==9.8.4 || ==9.10.1+ || ==9.12.4+ || ==9.14.1 source-repository head type: git location: https://github.com/haskellari/indexed-traversable subdir: indexed-traversable +flag base-ge-4-18+ description: @base >=4.18@ (GHC-9.6)+ default: True+ manual: False+ library default-language: Haskell2010 hs-source-dirs: src@@ -65,9 +72,15 @@ build-depends: array >=0.3.0.2 && <0.6- , base >=4.12 && <4.21- , containers >=0.6.0.1 && <0.8+ , base >=4.12 && <4.23+ , containers >=0.6.0.1 && <0.9 , transformers >=0.5.6.0 && <0.7 - if !impl(ghc >=9.6)+ if !flag(base-ge-4-18) build-depends: foldable1-classes-compat >=0.1 && <0.2++ if flag(base-ge-4-18)+ build-depends: base >=4.18++ else+ build-depends: base <4.18