Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Options | |
|
data YAMLCompileError Source #
Instances
Show YAMLCompileError Source # | |
Defined in Dhall.YamlToDhall showsPrec :: Int -> YAMLCompileError -> ShowS # show :: YAMLCompileError -> String # showList :: [YAMLCompileError] -> ShowS # | |
Exception YAMLCompileError Source # | |
Defined in Dhall.YamlToDhall |
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