Name : ghc-indexed-traversable
| |
Version : 0.1.4
| Vendor : openSUSE
|
Release : 1.1
| Date : 2024-05-16 09:59:00
|
Group : Unspecified
| Source RPM : ghc-indexed-traversable-0.1.4-1.1.src.rpm
|
Size : 0.37 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : FunctorWithIndex, FoldableWithIndex, TraversableWithIndex
|
Description :
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\'.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/ALP:/Experimental:/Slowroll/base.20240605/repo/oss/x86_64 |