category-extras-0.44.1: Various modules and constructs inspired by category theory.Source codeContentsIndex
Control.Bifunctor.Composition
Portabilityportable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Description
Documentation
newtype ArrowB f g a b Source
Constructors
ArrowB
runArrowB :: f a b -> g a b
newtype ConstB t a b Source
Constructors
ConstB
runConstB :: t
show/hide Instances
newtype FstB a b Source
Constructors
FstB
runFstB :: a
show/hide Instances
newtype SndB a b Source
Constructors
SndB
runSndB :: b
show/hide Instances
newtype CompB p f g a b Source
Constructors
CompB
runCompB :: p (f a b) (g a b)
show/hide Instances
liftCompB :: Bifunctor p => (f a b -> f c d) -> (g a b -> g c d) -> CompB p f g a b -> CompB p f g c dSource
newtype SwapB p a b Source
Constructors
SwapB
runSwapB :: p b a
show/hide Instances
liftSwapB :: Bifunctor p => (p a b -> p c d) -> SwapB p b a -> SwapB p d cSource
newtype FunctorB f p a b Source
Constructors
FunctorB
runFunctorB :: f (p a b)
show/hide Instances
liftFunctorB :: Functor f => (p a b -> p c d) -> FunctorB f p a b -> FunctorB f p c dSource
newtype BiffB p f g a b Source
Constructors
BiffB
runBiffB :: p (f a) (g b)
show/hide Instances
(Functor f, Bifunctor p, Functor g) => Bifunctor (BiffB p f g)
(Functor f, Braided p) => Braided (BiffB p f f)
(Functor f, Symmetric p) => Symmetric (BiffB p f f)
Functor f => PComonad (BiffB (,) Identity f)
Functor f => PMonad (BiffB Either Identity f)
FunctorPlus f => PMonad (BiffB (,) Identity f)
(Bizip p, Zip f, Zip g) => Bizip (BiffB p f g)
(BiZap p q, Zap f g, Zap i j) => BiZap (BiffB p f i) (BiffB q g j)
(Functor f, Bifunctor p, Functor g) => Functor (BiffB p f g a)
Produced by Haddock version 2.1.0