Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Utilities for integrating live programs into external loops, using IO
concurrency.
The basic idea is two wormholes (see Winograd-Court's thesis).
Documentation
type ExternalLoop eIn eOut = Cell IO eIn eOut Source #
concurrently :: (MonadIO m, Monoid eOut) => ExternalCell m eIn eOut a b -> IO (Cell m a b, ExternalLoop eIn eOut) Source #
makeHandle :: Cell IO a b -> IO (CellHandle a b) Source #
stepHandle :: CellHandle a b -> a -> IO b Source #