assoc: swap and assoc: Symmetric and Semigroupy Bifunctors
Provides generalisations of
swap :: (a,b) -> (b,a)
and
assoc :: ((a,b),c) -> (a,(b,c))
to
Bifunctor
s supporting similar operations (e.g. Either
, These
).
Downloads
- assoc-1.0.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
Candidates
Versions [RSS] | 1, 1.0.1, 1.0.2, 1.1, 1.1.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.3 && <4.19), bifunctors (>=5.5.5 && <5.6), tagged (>=0.8.6 && <0.9) [details] |
Tested with | ghc ==7.0.4 || ==7.2.2 || ==7.4.2 || ==7.6.3 || ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.2 || ==9.2.4 || ==9.4.1, ghcjs ==8.4 |
License | BSD-3-Clause |
Author | Oleg Grenrus <oleg.grenrus@iki.fi> |
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Revised | Revision 4 made by phadej at 2023-03-13T17:57:48Z |
Category | Data |
Source repo | head: git clone https://github.com/phadej/assoc.git |
Uploaded | by phadej at 2020-08-09T10:58:48Z |
Distributions | Arch:1.0.2, Debian:1.0.2, Fedora:1.1, LTSHaskell:1.1.1, NixOS:1.1.1, Stackage:1.1.1, openSUSE:1.1.1 |
Reverse Dependencies | 10 direct, 8595 indirect [details] |
Downloads | 34433 total (498 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2020-08-09 [all 1 reports] |