Safe Haskell | None |
---|---|
Language | Haskell98 |
- parseYaml :: String -> IO YamlNode
- emitYaml :: YamlNode -> IO String
- parseYamlFile :: String -> IO YamlNode
- emitYamlFile :: FilePath -> YamlNode -> IO ()
- parseYamlBytes :: Buf -> IO YamlNode
- emitYamlBytes :: YamlNode -> IO Buf
- data YamlNode = MkNode {}
- data YamlElem
- data YamlAnchor
- = AAnchor !Int
- | AReference !Int
- | ASingleton
- tagNode :: YamlTag -> YamlNode -> YamlNode
- nilNode :: YamlNode
- mkNode :: YamlElem -> YamlNode
- mkTagNode :: String -> YamlElem -> YamlNode
- mkTagStrNode :: String -> String -> YamlNode
- type SYMID = CULong
- packBuf :: String -> Buf
- unpackBuf :: Buf -> String
Documentation
parseYamlFile :: String -> IO YamlNode Source
Given a file name, parse contents of file
emitYamlFile :: FilePath -> YamlNode -> IO () Source
Given a file name, dump a YAML node into that file
parseYamlBytes :: Buf -> IO YamlNode Source
Parse a ByteString buffer (this is faster)
emitYamlBytes :: YamlNode -> IO Buf Source
data YamlAnchor Source
mkTagStrNode :: String -> String -> YamlNode Source