semialign-optics: SemialignWithIndex, i.e. izipWith and ialignWith

[ bsd3, data, deprecated, library, these ] [ Propose Tags ]
Deprecated in favor of semialign

This package provides SemialignWithIndex with two members

class (FunctorWithIndex i f, Semialign f) => SemialignWithIndex i f | f -> i where
    ialignWith :: (i -> These a b -> c) -> f a -> f b -> f c
class (SemialignWithIndex i f, Zip f) => ZipWithIndex i f | f -> i where
    izipWith   :: (i -> a -> b -> c)    -> f a -> f b -> f c

Superclass FunctorWithIndex is from optics-extra package. See https://hackage.haskell.org/package/semialign-indexed for lens variant.

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.1, 1.2
Change log CHANGELOG.md
Dependencies base (>=4.5.1.0 && <4.15), containers (>=0.4.2.1 && <0.7), hashable (>=1.2.7.0 && <1.4), optics-extra (>=0.2 && <0.4), semialign (>=1.1 && <1.2), these (>=1 && <1.2), transformers (>=0.3.0.0 && <0.6), transformers-compat (>=0.6.5 && <0.7), unordered-containers (>=0.2.8.0 && <0.3), vector (>=0.12.0.2 && <0.13) [details]
License BSD-3-Clause
Author C. McCann, Oleg Grenrus
Maintainer Oleg Grenrus <oleg.grenrus@iki.fi>
Revised Revision 2 made by phadej at 2020-05-26T08:22:42Z
Category Data, These
Home page https://github.com/isomorphism/these
Source repo head: git clone https://github.com/isomorphism/these.git
Uploaded by phadej at 2019-10-21T10:45:46Z
Distributions
Downloads 835 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-10-21 [all 1 reports]