swap and assoc: Symmetric and Semigroupy Bifunctors

Version on this page:1
Stackage Nightly 2019-05-18:1
Latest on Hackage:1

See all snapshots assoc appears in

BSD-3-Clause licensed and maintained by Oleg Grenrus

Module documentation for 1

There are no documented modules for this package.

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:
Used by 1 package:
comments powered byDisqus