extensible-effects-concurrent-0.1.2.2: Message passing concurrency as extensible-effect

Safe HaskellSafe
LanguageHaskell2010

Control.Eff.Interactive

Documentation

data Interaction a where Source #

Constructors

PrintLine :: String -> Interaction () 
ReadLine :: (String -> a) -> Interaction a 
Step :: Interaction () 

class Interactive f where Source #

Minimal complete definition

singleSteps

Methods

singleSteps :: (Member (Program Interaction) r, HasCallStack) => f a -> Eff r a Source #