profunctor-monad-0.2.0.0: Monadic bidirectional programming
Safe HaskellSafe-Inferred
LanguageHaskell2010

Profunctor.Monad.Monad

Synopsis

Rebound syntax

Works with RebindableSyntax.

(<$>) :: forall p x a b. ForallF Functor p => (a -> b) -> p x a -> p x b infixl 4 Source #

(<*>) :: forall p x a b. ForallF Applicative p => p x (a -> b) -> p x a -> p x b infixl 4 Source #

pure :: forall p x a. ForallF Applicative p => a -> p x a Source #

(<*) :: forall p x a b. ForallF Applicative p => p x a -> p x b -> p x a infixl 4 Source #

(*>) :: forall p x a b. ForallF Applicative p => p x a -> p x b -> p x b infixl 4 Source #

(>>=) :: forall p x a b. ForallF Monad p => p x a -> (a -> p x b) -> p x b infixl 1 Source #

(>>) :: forall p x a b. ForallF Monad p => p x a -> p x b -> p x b infixl 1 Source #

return :: forall p x a. ForallF Monad p => a -> p x a Source #

fail :: forall p x a. ForallF MonadFail p => String -> p x a Source #