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

[ bsd3, data, library, these ] [ Propose Tags ]

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.

Versions [faq] 1.1
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.*), 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 NixOS:1.1
Downloads 352 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-10-21 [all 1 reports]

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

For package maintainers and hackage trustees