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
).
Flags
Manual Flags
Name | Description | Default |
---|---|---|
tagged | You can disable the use of the Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- assoc-1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 1, 1.0.1, 1.0.2, 1.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.3 && <4.19), bifunctor-classes-compat (>=0.1 && <0.2), tagged (>=0.8.6 && <0.9) [details] |
License | BSD-3-Clause |
Author | Oleg Grenrus <oleg.grenrus@iki.fi> |
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Category | Data |
Source repo | head: git clone https://github.com/phadej/assoc.git |
Uploaded | by phadej at 2023-03-13T17:48:52Z |
Distributions | Arch:1.0.2, Debian:1.0.2, Fedora:1.0.2, LTSHaskell:1.0.2, NixOS:1.0.2, Stackage:1.1, openSUSE:1.0.2 |
Reverse Dependencies | 10 direct, 7876 indirect [details] |
Downloads | 28596 total (363 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |