pugs-DrIFT-2.2.3.20120203: DrIFT with pugs-specific rules.

Safe HaskellNone

DrIFT.YAML

Documentation

toYamlString :: YAML a => a -> IO String

toYamlNode :: YAML a => a -> IO YamlNode

showYaml :: YAML a => a -> IO String

class Typeable a => YAML a where

Instances

YAML Bool 
YAML Double 
YAML Int 
YAML Integer 
YAML Rational 
YAML Word 
YAML String 
YAML () 
YAML Buf 
YAML a => YAML [a] 
(Typeable a, YAML a) => YAML (TVar a) 
YAML a => YAML (Maybe a) 
YAML a => YAML (Seq a) 
(YAML a, YAML b) => YAML (a, b) 
(YAML a, YAML b, YAML c) => YAML (a, b, c) 

fromYAMLseq :: forall a. YAML a => YamlNode -> IO [a]

fromYAMLmap :: forall a. YAML a => YamlNode -> IO [(String, a)]

fromYAMLmapBuf :: forall a. YAML a => YamlNode -> IO [(ByteString, a)]

asYAMLwith :: (YAML a, YAML b) => (a -> EmitAs b) -> a -> EmitAs YamlNode

failWith :: forall a. YAML a => YamlElem -> IO a

visitNode :: ([countRef :: IORef Int], [duplHash :: DuplHash]) => YamlNode -> IO YamlNode

visitElem :: ([countRef :: IORef Int], [duplHash :: DuplHash]) => YamlElem -> IO YamlElem

markNode :: ([seenHash :: SeenHash], [duplHash :: DuplHash]) => YamlNode -> IO YamlNode

markElem :: ([seenHash :: SeenHash], [duplHash :: DuplHash]) => YamlElem -> IO (Int32, YamlElem)