| Copyright | (c) Soostone Inc 2020 |
|---|---|
| License | AllRightsReserved |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
Napkin.Spec.Yaml.HaskellInterpreter
Description
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 => LogOptions -> InterpolationMode -> FilePath -> YamlSpec b -> m RuntimeEnv #
initInterpreterForYaml :: MonadIO m => LogOptions -> FilePath -> YamlSpec b -> m InterpreterInstance #
interpreterEnvForYaml :: MonadIO m => FilePath -> YamlSpec b -> m InterpreterEnvironment #