devel/hs-indexed-traversable - The NetBSD Packages Collection

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.

The keys package provides similar functionality, but uses (associated)
TypeFamilies instead of FunctionalDependencies.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc98 lang/ghc98

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 10.0aarch64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 10.0x86_64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 10.0x86_64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 9.0aarch64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 9.0aarch64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 9.0x86_64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 9.0x86_64hs-indexed-traversable-0.1.3nb2.tgz
NetBSD 9.3x86_64hs-indexed-traversable-0.1.3nb2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.