Safe Haskell | None |
---|---|
Language | Haskell2010 |
Dhall.YamlToDhall
Synopsis
- data Options = Options {
- schema :: Maybe Text
- conversion :: Conversion
- defaultOptions :: Maybe Text -> Options
- data YAMLCompileError = YAMLCompileError CompileError
- dhallFromYaml :: Options -> ByteString -> IO (Expr Src Void)
- schemaFromYaml :: ByteString -> IO (Expr Src Void)
Documentation
Options to parametrize conversion
Constructors
Options | |
Fields
|
data YAMLCompileError Source #
Constructors
YAMLCompileError CompileError |
Instances
Show YAMLCompileError Source # | |
Defined in Dhall.YamlToDhall Methods showsPrec :: Int -> YAMLCompileError -> ShowS # show :: YAMLCompileError -> String # showList :: [YAMLCompileError] -> ShowS # | |
Exception YAMLCompileError Source # | |
Defined in Dhall.YamlToDhall Methods toException :: YAMLCompileError -> SomeException # |
dhallFromYaml :: Options -> ByteString -> IO (Expr Src Void) Source #
Transform yaml representation into dhall
schemaFromYaml :: ByteString -> IO (Expr Src Void) Source #
Infer the schema from YAML