CpsContextMonad
Base trait of CpsContextMonad which provide Ctx
as a monad context
Mixin this trait into your CosMonad in cases, when you monad have internal API
and you potentially want to use moand context as generic type.
- Source:
- CpsMonadContext.scala
Type members
Types
Inherited types
Value members
Abstract methods
Concrete methods
delegated to applyContext
delegated to applyContext
- See also:
applyContext
- Source:
- CpsMonadContext.scala
Inherited methods
bind combinator, which compose f
over fa
bind combinator, which compose f
over fa
- Inherited from:
- CpsMonad
- Source:
- CpsMonad.scala
Pure - wrap value t
inside monad.
Pure - wrap value t
inside monad.
Note, that pure use eager evaluation, which is different from Haskell.
- Inherited from:
- CpsMonad
- Source:
- CpsMonad.scala