monad-skeleton-0.1.5: Monads of program skeleta
Control.Monad.Skeleton.Internal
data Cat k a b where Source #
Constructors
transCat :: (forall x y. j x y -> k x y) -> Cat j a b -> Cat k a b Source #
(|>) :: Cat k a b -> k b c -> Cat k a c Source #
viewL :: forall k a b r. Cat k a b -> (k a b -> r) -> (forall x. k a x -> Cat k x b -> r) -> r Source #
transKleisli :: (m b -> n b) -> Kleisli m a b -> Kleisli n a b Source #