Copyright | (c) 2024-2025 Sayo contributors |
---|---|
License | MPL-2.0 (see the LICENSE file) |
Maintainer | ymdfield@outlook.jp |
Safe Haskell | None |
Language | GHC2021 |
Control.Monad.Hefty.Coroutine
Description
Interpreters for the coroutine effect.
Synopsis
- runCoroutine :: forall ans a b (es :: [Effect]). FOEs es => Eff (Yield a b ': es) ans -> Eff es (Status (Eff es) a b ans)
- module Data.Effect.Coroutine
- module Data.Effect.Input
- module Data.Effect.Output
Documentation
runCoroutine :: forall ans a b (es :: [Effect]). FOEs es => Eff (Yield a b ': es) ans -> Eff es (Status (Eff es) a b ans) Source #
module Data.Effect.Coroutine
module Data.Effect.Input
module Data.Effect.Output