Module
Data.Functor.Pairing.Co
- Package
- purescript-open-pairing
- Repository
- purescript-open-community/purescript-open-pairing
Monads from comonads, based on https://hackage.haskell.org/package/kan-extensions-5.0.1/docs/Control-Monad-Co.html.
#Co Source
newtype Co :: (Type -> Type) -> Type -> Type
newtype Co w a
Instances
(Functor w) => Functor (Co w)
(Extend w) => Apply (Co w)
(Comonad w) => Applicative (Co w)
(Extend w) => Bind (Co w)
(Comonad w) => Monad (Co w)
(ComonadAsk e w) => MonadAsk e (Co w)
(ComonadEnv e w) => MonadReader e (Co w)
(ComonadStore s w) => MonadState s (Co w)
(Semigroup t, ComonadTraced t w) => MonadTell t (Co w)
(Functor f, ComonadCofree f w) => MonadFree (Co f) (Co w)