Source Package: ghc-indexed-traversable (0.1.5-1.3)
FunctorWithIndex, FoldableWithIndex, TraversableWithIndex
This package provides three useful generalizations: ' class Functor f => FunctorWithIndex i f | f -> i where imap :: (i -> a -> b) -> f a -> f b ' ' class Foldable f => FoldableWithIndex i f | f -> i where ifoldMap :: Monoid m => (i -> a -> m) -> f a -> m ' ' class (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t) => TraversableWithIndex i t | t -> i where itraverse :: Applicative f => (i -> a -> f b) -> t a -> f (t b) ' This package contains instances for types in GHC boot libraries. For some additional instances see [indexed-traversable-instances](https://hackage.haskell.org/package/indexed-traversable-instances). The [keys](https://hackage.haskell.org/package/keys) package provides similar functionality, but uses (associated) 'TypeFamilies' instead of 'FunctionalDependencies'.
Package information
- Homepage
- [https://hackage.haskell.org/package/indexed-traversable]
- License
- BSD-2-Clause
- Mainteneur du paquet aval
- Inconnu : non déclaré dans la source indexée
The following binary packages are built from this source package:
- ghc-indexed-traversable
FunctorWithIndex, FoldableWithIndex, TraversableWithIndex
- ghc-indexed-traversable-devel
Haskell indexed-traversable library development files
- ghc-indexed-traversable-doc
Haskell indexed-traversable library documentation
- ghc-indexed-traversable-prof
Haskell indexed-traversable profiling library
