Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module should be seen as an interpreter that takes the YAML version of a spec and converts it to a proper, fully typed Spec value.
In a sense, it's also a bit of a typechecker: YAML versions are necessarily dynamically typed and there's the possibility of type mismatches.
Documentation
initRuntimeForYaml :: MonadIO m => Severity -> FilePath -> YamlSpec b -> m RuntimeEnv #
initInterpreterForYaml :: MonadIO m => Severity -> FilePath -> YamlSpec b -> m InterpreterInstance #
interpreterEnvForYaml :: FilePath -> YamlSpec b -> InterpreterEnvironment #