Module
Data.Functor.Pairing.Co
- Package
- purescript-pairing
- Repository
- paf31/purescript-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 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)
(ComonadTraced t w) => MonadTell t (Co w)
(Functor f, ComonadCofree f w) => MonadFree (Co f) (Co w)