semialign-optics: SemialignWithIndex, i.e. izipWith and ialignWith
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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.
Properties
| Versions | 1.1, 1.1, 1.2 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.5.1.0 && <4.14), containers (>=0.4.2.1 && <0.7), hashable (>=1.2.7.0 && <1.4), optics-extra (>=0.2 && <0.3), semialign (>=1.1 && <1.2), these (>=1 && <1.1), 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> |
| 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:44:51Z |
Modules
[Index] [Quick Jump]
- Data
- Semialign
Downloads
- semialign-optics-1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees