|
|
|
|
|
| Documentation |
|
| type Buf = ByteString |
|
| type YAMLClass = String |
|
| type YAMLKey = String |
|
| type YAMLVal = YamlNode |
|
| type SeenCache = IORef IntSet |
|
| toYamlString :: YAML a => a -> IO String |
|
| fromYamlString :: YAML a => String -> IO a |
|
| toYamlNode :: YAML a => a -> IO YamlNode |
|
| showYaml :: YAML a => a -> IO String |
|
| showYamlCompressed :: YAML a => a -> IO String |
|
| type EmitAs = ReaderT SeenCache IO |
|
| class Typeable a => YAML a where |
| | Methods | | | Instances | |
|
|
| asYAMLseq :: YAMLClass -> [EmitAs YAMLVal] -> EmitAs YamlNode |
|
| asYAMLmap :: YAMLClass -> [(YAMLKey, EmitAs YAMLVal)] -> EmitAs YamlNode |
|
| asYAMLmapBuf :: YAMLClass -> [(ByteString, EmitAs YAMLVal)] -> EmitAs YamlNode |
|
| 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)] |
|
| asYAMLcls :: YAMLClass -> EmitAs YamlNode |
|
| tagHs :: YAMLClass -> String |
|
| deTag :: YamlNode -> YAMLClass |
|
| asYAMLanchor :: a -> EmitAs YamlNode -> EmitAs YamlNode |
|
| asYAMLwith :: (YAML a, YAML b) => (a -> EmitAs b) -> a -> EmitAs YamlNode |
|
| failWith :: forall a. YAML a => YamlElem -> IO a |
|
| type SeenHash = HashTable SYMID (Maybe YamlNode) |
|
| type DuplHash = HashTable YamlNode Int |
|
| compressYamlNode :: YamlNode -> IO YamlNode |
|
| eqNode :: YamlNode -> YamlNode -> Bool |
|
| eqElem :: YamlElem -> YamlElem -> Bool |
|
| 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) |
|
| hashIDs :: [SYMID] -> Int32 |
|
| iterIDs :: Int32 -> SYMID -> Int32 |
|
| iterI32s :: Int32 -> Int32 -> Int32 |
|
| golden :: Int32 |
|
| mulHi :: Int32 -> Int32 -> Int32 |
|
| hashByteString :: ByteString -> Int32 |
|
| Produced by Haddock version 2.7.2 |