/usr/share/doc/libghc-yaml-doc/html/Text-Libyaml.html is in libghc-yaml-doc 0.8.25-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.Libyaml</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-Libyaml.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Libyaml.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">yaml-0.8.25: Support for parsing and rendering YAML documents.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.Libyaml</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">The event stream</a></li><li><a href="#g:2">Encoding and decoding</a></li><li><a href="#g:3">Error handling</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Low-level, streaming YAML interface. For a higher-level interface, see
<a href="Data-Yaml.html">Data.Yaml</a>.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:Event">Event</a><ul class="subs"><li>= <a href="#v:EventStreamStart">EventStreamStart</a></li><li>| <a href="#v:EventStreamEnd">EventStreamEnd</a></li><li>| <a href="#v:EventDocumentStart">EventDocumentStart</a></li><li>| <a href="#v:EventDocumentEnd">EventDocumentEnd</a></li><li>| <a href="#v:EventAlias">EventAlias</a> !<a href="Text-Libyaml.html#t:AnchorName">AnchorName</a></li><li>| <a href="#v:EventScalar">EventScalar</a> !<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> !<a href="Text-Libyaml.html#t:Tag">Tag</a> !<a href="Text-Libyaml.html#t:Style">Style</a> !<a href="Text-Libyaml.html#t:Anchor">Anchor</a></li><li>| <a href="#v:EventSequenceStart">EventSequenceStart</a> !<a href="Text-Libyaml.html#t:Anchor">Anchor</a></li><li>| <a href="#v:EventSequenceEnd">EventSequenceEnd</a></li><li>| <a href="#v:EventMappingStart">EventMappingStart</a> !<a href="Text-Libyaml.html#t:Anchor">Anchor</a></li><li>| <a href="#v:EventMappingEnd">EventMappingEnd</a></li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Style">Style</a><ul class="subs"><li>= <a href="#v:Any">Any</a></li><li>| <a href="#v:Plain">Plain</a></li><li>| <a href="#v:SingleQuoted">SingleQuoted</a></li><li>| <a href="#v:DoubleQuoted">DoubleQuoted</a></li><li>| <a href="#v:Literal">Literal</a></li><li>| <a href="#v:Folded">Folded</a></li><li>| <a href="#v:PlainNoTag">PlainNoTag</a></li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Tag">Tag</a><ul class="subs"><li>= <a href="#v:StrTag">StrTag</a></li><li>| <a href="#v:FloatTag">FloatTag</a></li><li>| <a href="#v:NullTag">NullTag</a></li><li>| <a href="#v:BoolTag">BoolTag</a></li><li>| <a href="#v:SetTag">SetTag</a></li><li>| <a href="#v:IntTag">IntTag</a></li><li>| <a href="#v:SeqTag">SeqTag</a></li><li>| <a href="#v:MapTag">MapTag</a></li><li>| <a href="#v:UriTag">UriTag</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:NoTag">NoTag</a></li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:AnchorName">AnchorName</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Anchor">Anchor</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Libyaml.html#t:AnchorName">AnchorName</a></li><li class="src short"><a href="#v:encode">encode</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="Text-Libyaml.html#t:Event">Event</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:decode">decode</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Producer">Producer</a> m <a href="Text-Libyaml.html#t:Event">Event</a></li><li class="src short"><a href="#v:encodeFile">encodeFile</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="Text-Libyaml.html#t:Event">Event</a> m ()</li><li class="src short"><a href="#v:decodeFile">decodeFile</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Producer">Producer</a> m <a href="Text-Libyaml.html#t:Event">Event</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:YamlException">YamlException</a><ul class="subs"><li>= <a href="#v:YamlException">YamlException</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:YamlParseException">YamlParseException</a> { <ul class="subs"><li><a href="#v:yamlProblem">yamlProblem</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:yamlContext">yamlContext</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:yamlProblemMark">yamlProblemMark</a> :: <a href="Text-Libyaml.html#t:YamlMark">YamlMark</a></li></ul> }</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:YamlMark">YamlMark</a> = <a href="#v:YamlMark">YamlMark</a> {<ul class="subs"><li><a href="#v:yamlIndex">yamlIndex</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:yamlLine">yamlLine</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:yamlColumn">yamlColumn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li></ul>}</li></ul></div><div id="interface"><h1 id="g:1">The event stream</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Event" class="def">Event</a> <a href="src/Text-Libyaml.html#Event" class="link">Source</a> <a href="#t:Event" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:EventStreamStart" class="def">EventStreamStart</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventStreamEnd" class="def">EventStreamEnd</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventDocumentStart" class="def">EventDocumentStart</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventDocumentEnd" class="def">EventDocumentEnd</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventAlias" class="def">EventAlias</a> !<a href="Text-Libyaml.html#t:AnchorName">AnchorName</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventScalar" class="def">EventScalar</a> !<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> !<a href="Text-Libyaml.html#t:Tag">Tag</a> !<a href="Text-Libyaml.html#t:Style">Style</a> !<a href="Text-Libyaml.html#t:Anchor">Anchor</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventSequenceStart" class="def">EventSequenceStart</a> !<a href="Text-Libyaml.html#t:Anchor">Anchor</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventSequenceEnd" class="def">EventSequenceEnd</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventMappingStart" class="def">EventMappingStart</a> !<a href="Text-Libyaml.html#t:Anchor">Anchor</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:EventMappingEnd" class="def">EventMappingEnd</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Event" class="caption collapser" onclick="toggleSection('i:Event')">Instances</p><div id="section.i:Event" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Event:Eq:1" class="instance expander" onclick="toggleSection('i:id:Event:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Libyaml.html#t:Event">Event</a></span> <a href="src/Text-Libyaml.html#line-69" class="link">Source</a> <a href="#t:Event" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Event:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Text-Libyaml.html#t:Event">Event</a> -> <a href="Text-Libyaml.html#t:Event">Event</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Text-Libyaml.html#t:Event">Event</a> -> <a href="Text-Libyaml.html#t:Event">Event</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Event:Show:2" class="instance expander" onclick="toggleSection('i:id:Event:Show:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Libyaml.html#t:Event">Event</a></span> <a href="src/Text-Libyaml.html#line-69" class="link">Source</a> <a href="#t:Event" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Event:Show:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Libyaml.html#t:Event">Event</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Libyaml.html#t:Event">Event</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Libyaml.html#t:Event">Event</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Style" class="def">Style</a> <a href="src/Text-Libyaml.html#Style" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Any" class="def">Any</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Plain" class="def">Plain</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SingleQuoted" class="def">SingleQuoted</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:DoubleQuoted" class="def">DoubleQuoted</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Literal" class="def">Literal</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Folded" class="def">Folded</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:PlainNoTag" class="def">PlainNoTag</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Style" class="caption collapser" onclick="toggleSection('i:Style')">Instances</p><div id="section.i:Style" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Bounded:1" class="instance expander" onclick="toggleSection('i:id:Style:Bounded:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="Text-Libyaml.html#t:Style">Style</a></span> <a href="src/Text-Libyaml.html#line-78" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Bounded:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:minBound">minBound</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:minBound" class="selflink">#</a></p><p class="src"><a href="#v:maxBound">maxBound</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:maxBound" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Enum:2" class="instance expander" onclick="toggleSection('i:id:Style:Enum:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Text-Libyaml.html#t:Style">Style</a></span> <a href="src/Text-Libyaml.html#line-78" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Enum:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> [<a href="Text-Libyaml.html#t:Style">Style</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> [<a href="Text-Libyaml.html#t:Style">Style</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> [<a href="Text-Libyaml.html#t:Style">Style</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> [<a href="Text-Libyaml.html#t:Style">Style</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Eq:3" class="instance expander" onclick="toggleSection('i:id:Style:Eq:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Libyaml.html#t:Style">Style</a></span> <a href="src/Text-Libyaml.html#line-78" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Eq:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Data:4" class="instance expander" onclick="toggleSection('i:id:Style:Data:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> <a href="Text-Libyaml.html#t:Style">Style</a></span> <a href="src/Text-Libyaml.html#line-78" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Data:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gfoldl">gfoldl</a> :: (<span class="keyword">forall</span> d b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => c (d -> b) -> d -> c b) -> (<span class="keyword">forall</span> g. g -> c g) -> <a href="Text-Libyaml.html#t:Style">Style</a> -> c <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:gfoldl" class="selflink">#</a></p><p class="src"><a href="#v:gunfold">gunfold</a> :: (<span class="keyword">forall</span> b r. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b => c (b -> r) -> c r) -> (<span class="keyword">forall</span> r. r -> c r) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> -> c <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:gunfold" class="selflink">#</a></p><p class="src"><a href="#v:toConstr">toConstr</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> <a href="#v:toConstr" class="selflink">#</a></p><p class="src"><a href="#v:dataTypeOf">dataTypeOf</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:DataType">DataType</a> <a href="#v:dataTypeOf" class="selflink">#</a></p><p class="src"><a href="#v:dataCast1">dataCast1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => c (t d)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Libyaml.html#t:Style">Style</a>) <a href="#v:dataCast1" class="selflink">#</a></p><p class="src"><a href="#v:dataCast2">dataCast2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d e. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> e) => c (t d e)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Libyaml.html#t:Style">Style</a>) <a href="#v:dataCast2" class="selflink">#</a></p><p class="src"><a href="#v:gmapT">gmapT</a> :: (<span class="keyword">forall</span> b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b => b -> b) -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:gmapT" class="selflink">#</a></p><p class="src"><a href="#v:gmapQl">gmapQl</a> :: (r -> r' -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Text-Libyaml.html#t:Style">Style</a> -> r <a href="#v:gmapQl" class="selflink">#</a></p><p class="src"><a href="#v:gmapQr">gmapQr</a> :: (r' -> r -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Text-Libyaml.html#t:Style">Style</a> -> r <a href="#v:gmapQr" class="selflink">#</a></p><p class="src"><a href="#v:gmapQ">gmapQ</a> :: (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Text-Libyaml.html#t:Style">Style</a> -> [u] <a href="#v:gmapQ" class="selflink">#</a></p><p class="src"><a href="#v:gmapQi">gmapQi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Text-Libyaml.html#t:Style">Style</a> -> u <a href="#v:gmapQi" class="selflink">#</a></p><p class="src"><a href="#v:gmapM">gmapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Text-Libyaml.html#t:Style">Style</a> -> m <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:gmapM" class="selflink">#</a></p><p class="src"><a href="#v:gmapMp">gmapMp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Text-Libyaml.html#t:Style">Style</a> -> m <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:gmapMp" class="selflink">#</a></p><p class="src"><a href="#v:gmapMo">gmapMo</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Text-Libyaml.html#t:Style">Style</a> -> m <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:gmapMo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Ord:5" class="instance expander" onclick="toggleSection('i:id:Style:Ord:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Text-Libyaml.html#t:Style">Style</a></span> <a href="src/Text-Libyaml.html#line-78" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Ord:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Read:6" class="instance expander" onclick="toggleSection('i:id:Style:Read:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Read.html#t:Read">Read</a> <a href="Text-Libyaml.html#t:Style">Style</a></span> <a href="src/Text-Libyaml.html#line-78" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Read:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Text-Libyaml.html#t:Style">Style</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> <a href="Text-Libyaml.html#t:Style">Style</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Text-Libyaml.html#t:Style">Style</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Show:7" class="instance expander" onclick="toggleSection('i:id:Style:Show:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Libyaml.html#t:Style">Style</a></span> <a href="src/Text-Libyaml.html#line-78" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Show:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Libyaml.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Libyaml.html#t:Style">Style</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Tag" class="def">Tag</a> <a href="src/Text-Libyaml.html#Tag" class="link">Source</a> <a href="#t:Tag" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:StrTag" class="def">StrTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:FloatTag" class="def">FloatTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:NullTag" class="def">NullTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:BoolTag" class="def">BoolTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SetTag" class="def">SetTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:IntTag" class="def">IntTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SeqTag" class="def">SeqTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:MapTag" class="def">MapTag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:UriTag" class="def">UriTag</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:NoTag" class="def">NoTag</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Tag" class="caption collapser" onclick="toggleSection('i:Tag')">Instances</p><div id="section.i:Tag" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tag:Eq:1" class="instance expander" onclick="toggleSection('i:id:Tag:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Libyaml.html#t:Tag">Tag</a></span> <a href="src/Text-Libyaml.html#line-90" class="link">Source</a> <a href="#t:Tag" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Tag:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tag:Data:2" class="instance expander" onclick="toggleSection('i:id:Tag:Data:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> <a href="Text-Libyaml.html#t:Tag">Tag</a></span> <a href="src/Text-Libyaml.html#line-90" class="link">Source</a> <a href="#t:Tag" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Tag:Data:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gfoldl">gfoldl</a> :: (<span class="keyword">forall</span> d b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => c (d -> b) -> d -> c b) -> (<span class="keyword">forall</span> g. g -> c g) -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> c <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:gfoldl" class="selflink">#</a></p><p class="src"><a href="#v:gunfold">gunfold</a> :: (<span class="keyword">forall</span> b r. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b => c (b -> r) -> c r) -> (<span class="keyword">forall</span> r. r -> c r) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> -> c <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:gunfold" class="selflink">#</a></p><p class="src"><a href="#v:toConstr">toConstr</a> :: <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> <a href="#v:toConstr" class="selflink">#</a></p><p class="src"><a href="#v:dataTypeOf">dataTypeOf</a> :: <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:DataType">DataType</a> <a href="#v:dataTypeOf" class="selflink">#</a></p><p class="src"><a href="#v:dataCast1">dataCast1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => c (t d)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Libyaml.html#t:Tag">Tag</a>) <a href="#v:dataCast1" class="selflink">#</a></p><p class="src"><a href="#v:dataCast2">dataCast2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d e. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> e) => c (t d e)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Libyaml.html#t:Tag">Tag</a>) <a href="#v:dataCast2" class="selflink">#</a></p><p class="src"><a href="#v:gmapT">gmapT</a> :: (<span class="keyword">forall</span> b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b => b -> b) -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:gmapT" class="selflink">#</a></p><p class="src"><a href="#v:gmapQl">gmapQl</a> :: (r -> r' -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> r <a href="#v:gmapQl" class="selflink">#</a></p><p class="src"><a href="#v:gmapQr">gmapQr</a> :: (r' -> r -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> r <a href="#v:gmapQr" class="selflink">#</a></p><p class="src"><a href="#v:gmapQ">gmapQ</a> :: (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> [u] <a href="#v:gmapQ" class="selflink">#</a></p><p class="src"><a href="#v:gmapQi">gmapQi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> u <a href="#v:gmapQi" class="selflink">#</a></p><p class="src"><a href="#v:gmapM">gmapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> m <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:gmapM" class="selflink">#</a></p><p class="src"><a href="#v:gmapMp">gmapMp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> m <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:gmapMp" class="selflink">#</a></p><p class="src"><a href="#v:gmapMo">gmapMo</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> m <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:gmapMo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tag:Read:3" class="instance expander" onclick="toggleSection('i:id:Tag:Read:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Read.html#t:Read">Read</a> <a href="Text-Libyaml.html#t:Tag">Tag</a></span> <a href="src/Text-Libyaml.html#line-90" class="link">Source</a> <a href="#t:Tag" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Tag:Read:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Text-Libyaml.html#t:Tag">Tag</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> <a href="Text-Libyaml.html#t:Tag">Tag</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Text-Libyaml.html#t:Tag">Tag</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Tag:Show:4" class="instance expander" onclick="toggleSection('i:id:Tag:Show:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Libyaml.html#t:Tag">Tag</a></span> <a href="src/Text-Libyaml.html#line-90" class="link">Source</a> <a href="#t:Tag" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Tag:Show:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Libyaml.html#t:Tag">Tag</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Libyaml.html#t:Tag">Tag</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:AnchorName" class="def">AnchorName</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Libyaml.html#AnchorName" class="link">Source</a> <a href="#t:AnchorName" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Anchor" class="def">Anchor</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Libyaml.html#t:AnchorName">AnchorName</a> <a href="src/Text-Libyaml.html#Anchor" class="link">Source</a> <a href="#t:Anchor" class="selflink">#</a></p></div><h1 id="g:2">Encoding and decoding</h1><div class="top"><p class="src"><a id="v:encode" class="def">encode</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="Text-Libyaml.html#t:Event">Event</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Text-Libyaml.html#encode" class="link">Source</a> <a href="#v:encode" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:decode" class="def">decode</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Producer">Producer</a> m <a href="Text-Libyaml.html#t:Event">Event</a> <a href="src/Text-Libyaml.html#decode" class="link">Source</a> <a href="#v:decode" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:encodeFile" class="def">encodeFile</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="Text-Libyaml.html#t:Event">Event</a> m () <a href="src/Text-Libyaml.html#encodeFile" class="link">Source</a> <a href="#v:encodeFile" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:decodeFile" class="def">decodeFile</a> :: <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Producer">Producer</a> m <a href="Text-Libyaml.html#t:Event">Event</a> <a href="src/Text-Libyaml.html#decodeFile" class="link">Source</a> <a href="#v:decodeFile" class="selflink">#</a></p></div><h1 id="g:3">Error handling</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:YamlException" class="def">YamlException</a> <a href="src/Text-Libyaml.html#YamlException" class="link">Source</a> <a href="#t:YamlException" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:YamlException" class="def">YamlException</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:YamlParseException" class="def">YamlParseException</a></td><td class="doc"><p>problem, context, index, position line, position column</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:yamlProblem" class="def">yamlProblem</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:yamlContext" class="def">yamlContext</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:yamlProblemMark" class="def">yamlProblemMark</a> :: <a href="Text-Libyaml.html#t:YamlMark">YamlMark</a></dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:YamlException" class="caption collapser" onclick="toggleSection('i:YamlException')">Instances</p><div id="section.i:YamlException" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:YamlException:Show:1" class="instance expander" onclick="toggleSection('i:id:YamlException:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Libyaml.html#t:YamlException">YamlException</a></span> <a href="src/Text-Libyaml.html#line-642" class="link">Source</a> <a href="#t:YamlException" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:YamlException:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Libyaml.html#t:YamlException">YamlException</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Libyaml.html#t:YamlException">YamlException</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Libyaml.html#t:YamlException">YamlException</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:YamlException:Exception:2" class="instance expander" onclick="toggleSection('i:id:YamlException:Exception:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Exception-Base.html#t:Exception">Exception</a> <a href="Text-Libyaml.html#t:YamlException">YamlException</a></span> <a href="src/Text-Libyaml.html#line-643" class="link">Source</a> <a href="#t:YamlException" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:YamlException:Exception:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toException">toException</a> :: <a href="Text-Libyaml.html#t:YamlException">YamlException</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Exception-Base.html#t:SomeException">SomeException</a> <a href="#v:toException" class="selflink">#</a></p><p class="src"><a href="#v:fromException">fromException</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Exception-Base.html#t:SomeException">SomeException</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Libyaml.html#t:YamlException">YamlException</a> <a href="#v:fromException" class="selflink">#</a></p><p class="src"><a href="#v:displayException">displayException</a> :: <a href="Text-Libyaml.html#t:YamlException">YamlException</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:displayException" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:YamlMark" class="def">YamlMark</a> <a href="src/Text-Libyaml.html#YamlMark" class="link">Source</a> <a href="#t:YamlMark" class="selflink">#</a></p><div class="doc"><p>The pointer position</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:YamlMark" class="def">YamlMark</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:yamlIndex" class="def">yamlIndex</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:yamlLine" class="def">yamlLine</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:yamlColumn" class="def">yamlColumn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:YamlMark" class="caption collapser" onclick="toggleSection('i:YamlMark')">Instances</p><div id="section.i:YamlMark" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:YamlMark:Show:1" class="instance expander" onclick="toggleSection('i:id:YamlMark:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Libyaml.html#t:YamlMark">YamlMark</a></span> <a href="src/Text-Libyaml.html#line-637" class="link">Source</a> <a href="#t:YamlMark" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:YamlMark:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Libyaml.html#t:YamlMark">YamlMark</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Libyaml.html#t:YamlMark">YamlMark</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Libyaml.html#t:YamlMark">YamlMark</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|