| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Test.IOTasks.Interpreter
Synopsis
- interpret :: MonadTeletype m => Specification -> [m ()]
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