IOTasks
Safe HaskellNone

Test.IOTasks.Interpreter

Synopsis

Documentation

interpret :: MonadTeletype m => Specification -> [m ()] Source #

Interpret a specification as a program in Monad m.

Returns a list containing all possible ways of resolving optionality, e.g.

>>> length (interpret $ writeOptionalOutput [x,y])
3