Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Profunctor p where Source #
Nothing
(^>>) :: Profunctor p => (a -> b) -> p b c -> p a c infixr 1 Source #
(>>^) :: Profunctor p => p a b -> (b -> c) -> p a c infixr 1 Source #
(<<^) :: Profunctor p => p b c -> (a -> b) -> p a c infixr 1 Source #
(^<<) :: Profunctor p => (b -> c) -> p a b -> p a c infixr 1 Source #
class Profunctor p => Strong f p where Source #
class Profunctor p => Costrong f p where Source #
Nothing
costrongL :: p (f a c) (f b c) -> p a b Source #
costrongR :: p (f a b) (f a c) -> p b c Source #
costrongL :: Braided f => p (f a c) (f b c) -> p a b Source #
costrongR :: Braided f => p (f a b) (f a c) -> p b c Source #
class Profunctor p => Closed f p where Source #
Instances
(Traversable f, Applicative p) => Closed f (Kleisli p) Source # | |
(Cotraversable f, Functor ɯ) => Closed f (Cokleisli ɯ) Source # | |
Functor f => Closed f ((->) :: Type -> Type -> Type) Source # | |
Defined in Data.Profunctor |