assoc
swap and assoc: Symmetric and Semigroupy Bifunctors
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@).
- 1.1.1
- 1.1
- 1.0.2
- 1.0.1
- 1
swap and assoc: Symmetric and Semigroupy Bifunctors
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@).