-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Convert between Dhall and YAML
--   
--   Use this package if you want to convert between Dhall expressions and
--   YAML. You can use this package as a library or an executable:
--   
--   <ul>
--   <li>See the <a>Dhall.Yaml</a> module if you want to use this package
--   as a library</li>
--   <li>Use the <tt>dhall-to-yaml-ng</tt> program from this package if you
--   want an executable</li>
--   </ul>
@package dhall-yaml
@version 1.2.8


-- | Convert Dhall to YAML
module Dhall.Yaml
data Options
Options :: Bool -> (Value -> Value) -> Bool -> Bool -> Conversion -> Maybe FilePath -> Maybe FilePath -> Bool -> Options
[explain] :: Options -> Bool
[omission] :: Options -> Value -> Value
[documents] :: Options -> Bool
[quoted] :: Options -> Bool
[conversion] :: Options -> Conversion
[file] :: Options -> Maybe FilePath
[output] :: Options -> Maybe FilePath
[noEdit] :: Options -> Bool
defaultOptions :: Options

-- | Convert a piece of <a>Text</a> carrying a Dhall inscription to an
--   equivalent <tt>YAML</tt> <a>ByteString</a>
dhallToYaml :: Options -> Maybe FilePath -> Text -> IO ByteString

module Dhall.YamlToDhall

-- | Options to parametrize conversion
data Options
Options :: Maybe Text -> Conversion -> Options
[schema] :: Options -> Maybe Text
[conversion] :: Options -> Conversion
defaultOptions :: Maybe Text -> Options
data YAMLCompileError
YAMLCompileError :: CompileError -> YAMLCompileError

-- | Transform yaml representation into dhall
dhallFromYaml :: Options -> ByteString -> IO (Expr Src Void)

-- | Infer the schema from YAML
schemaFromYaml :: ByteString -> IO (Expr Src Void)
instance GHC.Show.Show Dhall.YamlToDhall.Options
instance GHC.Show.Show Dhall.YamlToDhall.YAMLCompileError
instance GHC.Exception.Type.Exception Dhall.YamlToDhall.YAMLCompileError
