Module
Run.Console
- Package
- purescript-run-console-experiment
- Repository
- joneshf/purescript-run-console-experiment
#runEff Source
runEff :: forall r e a. Console ~> (Eff (console :: CONSOLE | e)) -> Run (console :: CONSOLE, eff :: EFF (console :: CONSOLE | e) | r) a -> Run (eff :: EFF (console :: CONSOLE | e) | r) a
Runs the given function in an effectful context.
This converts the CONSOLE
type into a
Control.Monad.Eff.Console.CONSOLE
effect.
Useful for building up new effectful interpreters.
- Modules
- Run.
Console