assoc: swap and assoc: Symmetric and Semigroupy Bifunctors

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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).

Flags

Manual Flags

NameDescriptionDefault
tagged

You can disable the use of the tagged package using `-f-tagged`. . Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

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.12 && <4.21) [details]
Tested with ghc ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
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 2024-05-12T21:27:10Z
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, 8602 indirect [details]
Downloads 34557 total (513 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-05-12 [all 1 reports]