swap and assoc: Symmetric and Semigroupy Bifunctors

Version on this page:1@rev:1
LTS Haskell 14.14:1.0.1
Stackage Nightly 2019-11-11:1.0.1
Latest on Hackage:1.0.1

See all snapshots assoc appears in

BSD-3-Clause licensed and maintained by Oleg Grenrus

Module documentation for 1

This version can be pinned in stack with:assoc-1@sha256:8d32ce39b6b6ce15394e9346f9ddb8752885aaa506a603e65d1c2769aff79741,1024

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

Depends on 2 packages(full list with versions):
Used by 1 package in lts-14.13(full list with versions):
comments powered byDisqus