Module

Control.Subcategory.Endofunctor.Monad

Package
purescript-subcategory
Repository
matthew-hilty/purescript-subcategory

#Monad Source

class (Applicative c m, Bind c m) <= Monad c m 

Instances

#ap Source

ap :: forall v1 v0 m c. HasBind c m => HasPure c m => ObjectOf c v0 => ObjectOf c v1 => ObjectOf c (m v0) => ObjectOf c (m v1) => ObjectOf c (c v0 v1) => ObjectOf c (m (c v0 v1)) => Restrictable Function c => Slackable c => m (c v0 v1) -> c (m v0) (m v1)

#liftM1 Source

liftM1 :: forall v1 v0 m c. HasBind c m => HasPure c m => ObjectOf c v0 => ObjectOf c v1 => ObjectOf c (m v0) => ObjectOf c (m v1) => Restrictable Function c => Slackable c => c v0 v1 -> c (m v0) (m v1)

#whenM Source

whenM :: forall u m c. HasBind c m => HasPure c m => HasUnit c u => HasUnpoint c u => ObjectOf c Boolean => ObjectOf c (m Boolean) => ObjectOf c (m u) => Restrictable Function c => Slackable c => m Boolean -> c (m u) (m u)

#unlessM Source

unlessM :: forall u m c. HasBind c m => HasPure c m => HasUnit c u => HasUnpoint c u => ObjectOf c Boolean => ObjectOf c (m Boolean) => ObjectOf c (m u) => Restrictable Function c => Slackable c => m Boolean -> c (m u) (m u)
Modules
Control.Subcategory.Adjoint
Control.Subcategory.Category
Control.Subcategory.Closed
Control.Subcategory.ClosedMonoidal
Control.Subcategory.ClosedSemimonoidal
Control.Subcategory.Constituency
Control.Subcategory.Endofunctor
Control.Subcategory.Endofunctor.Applicative
Control.Subcategory.Endofunctor.Apply
Control.Subcategory.Endofunctor.Bind
Control.Subcategory.Endofunctor.Discard
Control.Subcategory.Endofunctor.HasApply
Control.Subcategory.Endofunctor.HasBind
Control.Subcategory.Endofunctor.HasCompose
Control.Subcategory.Endofunctor.HasConst
Control.Subcategory.Endofunctor.HasMap
Control.Subcategory.Endofunctor.HasPoint
Control.Subcategory.Endofunctor.HasPure
Control.Subcategory.Endofunctor.HasUnpoint
Control.Subcategory.Endofunctor.Monad
Control.Subcategory.Endofunctor.Parameterized.HasConst
Control.Subcategory.Functor
Control.Subcategory.Functor.Discard
Control.Subcategory.Functor.HasApply
Control.Subcategory.Functor.HasBind
Control.Subcategory.Functor.HasConst
Control.Subcategory.Functor.HasMap
Control.Subcategory.Functor.HasPure
Control.Subcategory.Functor.Parameterized.HasConst
Control.Subcategory.HasCompose
Control.Subcategory.HasCurriedEval
Control.Subcategory.HasCurry
Control.Subcategory.HasIdentity
Control.Subcategory.HasIntroduce
Control.Subcategory.HasStart
Control.Subcategory.HasTJoin
Control.Subcategory.HasTUnit
Control.Subcategory.HasTerminate
Control.Subcategory.HasUncurriedEval
Control.Subcategory.HasUncurry
Control.Subcategory.HasUnit
Control.Subcategory.Monoidal
Control.Subcategory.Profunctor
Control.Subcategory.Profunctor.HasDimap
Control.Subcategory.Relation.Reflexive
Control.Subcategory.Relation.Symmetric
Control.Subcategory.Restrictable
Control.Subcategory.Semigroupoid
Control.Subcategory.Semimonoidal
Control.Subcategory.Slackable
Control.Subcategory.Strength