Module
Control.Monad.Indexed
- Package
- purescript-indexed-monad
- Repository
- garyb/purescript-indexed-monad
#IxMonad Source
class IxMonad :: forall ix. (ix -> ix -> Type -> Type) -> Constraint
class (IxApplicative m, IxBind m) <= IxMonad m
Re-exports from Control.Applicative.Indexed
#IxApplicative Source
class IxApplicative :: forall ix. (ix -> ix -> Type -> Type) -> Constraint
class (IxApply m) <= IxApplicative m where
Members
ipure :: forall a x. a -> m x x a
Re-exports from Control.Apply.Indexed
#iapplySecond Source
iapplySecond :: forall m a b x y z. IxApply m => m x y a -> m y z b -> m x z b
#iapplyFirst Source
iapplyFirst :: forall m a b x y z. IxApply m => m x y a -> m y z b -> m x z a
#(:*>) Source
Operator alias for Control.Apply.Indexed.iapplySecond (left-associative / precedence 4)
Re-exports from Control.Bind.Indexed
#ibindFlipped Source
ibindFlipped :: forall m a b x y z. IxBind m => (a -> m y z b) -> m x y a -> m x z b
#composeiKleisliFlipped Source
composeiKleisliFlipped :: forall m a b c x y z. IxBind m => (b -> m y z c) -> (a -> m x y b) -> a -> m x z c
#composeiKleisli Source
composeiKleisli :: forall m a b c x y z. IxBind m => (a -> m x y b) -> (b -> m y z c) -> a -> m x z c
#(=<<:) Source
Operator alias for Control.Bind.Indexed.ibindFlipped (right-associative / precedence 1)
#(<=<:) Source
Operator alias for Control.Bind.Indexed.composeiKleisliFlipped (right-associative / precedence 1)
#(:>=>) Source
Operator alias for Control.Bind.Indexed.composeiKleisli (right-associative / precedence 1)
Re-exports from Data.Functor.Indexed
#ivoidRight Source
ivoidRight :: forall f a b x y. IxFunctor f => a -> f x y b -> f x y a