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
Dependencies base (>=4.3 && <4.14), bifunctors (>=5.5.2 && <5.6) [details]
License BSD-3-Clause
Author Oleg Grenrus <>
Maintainer Oleg Grenrus <>
Revised Revision 1 made by phadej at Sat Sep 7 06:46:26 UTC 2019
Category Data
Source repo head: git clone
Uploaded by phadej at Mon Feb 4 07:25:55 UTC 2019
Distributions NixOS:1.0.1, Stackage:1
Downloads 1166 total (195 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-02-04 [all 1 reports]


[Index] [Quick Jump]


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