Safe Haskell | None |
---|
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