assoc: swap and assoc: Symmetric and Semigroupy Bifunctors
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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
).
Properties
Versions | 1, 1.0.1, 1.0.2, 1.0.2, 1.1, 1.1.1 |
---|---|
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:29Z |
Modules
[Index] [Quick Jump]
- Data
Downloads
- assoc-1.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees