assoc: swap and assoc: Symmetric and Semigroupy Bifunctors

[ bsd3, data, library ] [ Propose Tags ]

Provides generalisations of swap :: (a,b) -> (b,a) and assoc :: ((a,b),c) -> (a,(b,c)) to Bifunctors supporting similar operations (e.g. Either, These).

Versions [faq] 1, 1.0.1, 1.0.2
Change log CHANGELOG.md
Dependencies base (>=4.3 && <4.15), bifunctors (>=5.5.5 && <5.6), 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 2020-08-09T10:58:48Z
Distributions Arch:1.0.2, Fedora:1.0.1, NixOS:1.0.2, Stackage:1, openSUSE:1.0.2
Downloads 11038 total (1423 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 2020-08-09 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees