Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type IndexedTRobot = (Int, TRobot) Source #
A robot template paired with its definition's index within the Scenario file
type RobotMap = Map Text IndexedTRobot Source #
A map from names to robots, used to look up robots in scenario descriptions.
getThing :: String -> (Text -> m -> Maybe a) -> Text -> ParserE m a Source #
Look up a thing by name, throwing a parse error if it is not found.