hs-functors-0.1.4.0: Functors from products of Haskell and its dual to Haskell

Safe HaskellNone
LanguageHaskell2010

Data.Bifunctor.Braided

Documentation

class Braided f where Source #

Methods

braid :: f a b -> f b a Source #

Instances
Braided Either Source # 
Instance details

Defined in Data.Bifunctor.Braided

Methods

braid :: Either a b -> Either b a Source #

Braided (,) Source # 
Instance details

Defined in Data.Bifunctor.Braided

Methods

braid :: (a, b) -> (b, a) Source #