/usr/share/doc/libghc-icalendar-doc/html/Text-ICalendar-Parser.html is in libghc-icalendar-doc 0.4.0.3-4build5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | <!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.ICalendar.Parser</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-ICalendar-Parser.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-ICalendar-Parser.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">iCalendar-0.4.0.3: iCalendar data types, parser, and printer.</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.ICalendar.Parser</p></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"><a href="#v:parseICalendar">parseICalendar</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> -> <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/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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"><a href="#v:parseICalendarFile">parseICalendarFile</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> -> <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/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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"><a href="#v:parseICal">parseICal</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> -> <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/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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"><a href="#v:parseICalFile">parseICalFile</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> -> <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/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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">data</span> <a href="#t:DecodingFunctions">DecodingFunctions</a> = <a href="#v:DecodingFunctions">DecodingFunctions</a> {<ul class="subs"><li><a href="#v:dfBS2Text">dfBS2Text</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li><li><a href="#v:dfBS2IText">dfBS2IText</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/libghc-case-insensitive-doc/html/Data-CaseInsensitive.html#t:CI">CI</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li></ul>}</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:parseICalendar" class="def">parseICalendar</a> <a href="src/Text-ICalendar-Parser.html#parseICalendar" class="link">Source</a> <a href="#v:parseICalendar" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a></td><td class="doc"><p>Used in error messages.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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></table></div><div class="doc"><p>Parse a ByteString containing iCalendar data.</p><p>Returns either an error, or a tuple of the result and a list of warnings.</p></div></div><div class="top"><p class="src"><a id="v:parseICalendarFile" class="def">parseICalendarFile</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> -> <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/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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-ICalendar-Parser.html#parseICalendarFile" class="link">Source</a> <a href="#v:parseICalendarFile" class="selflink">#</a></p><div class="doc"><p>Parse an iCalendar file.</p></div></div><div class="top"><p class="src"><a id="v:parseICal" class="def">parseICal</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> -> <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/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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-ICalendar-Parser.html#parseICal" class="link">Source</a> <a href="#v:parseICal" class="selflink">#</a></p><div class="doc"><div class="warning"><p>Deprecated: Use parseICalendar instead</p></div><p>Deprecated synonym for parseICalendar</p></div></div><div class="top"><p class="src"><a id="v:parseICalFile" class="def">parseICalFile</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> -> <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/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</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="Text-ICalendar-Types.html#t:VCalendar">VCalendar</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-ICalendar-Parser.html#parseICalFile" class="link">Source</a> <a href="#v:parseICalFile" class="selflink">#</a></p><div class="doc"><div class="warning"><p>Deprecated: Use parseICalendarFile instead</p></div><p>Deprecated synonym for parseICalendarFile</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:DecodingFunctions" class="def">DecodingFunctions</a> <a href="src/Text-ICalendar-Parser-Common.html#DecodingFunctions" class="link">Source</a> <a href="#t:DecodingFunctions" class="selflink">#</a></p><div class="doc"><p>Functions for decoding <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></code>s into <code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:DecodingFunctions" class="def">DecodingFunctions</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:dfBS2Text" class="def">dfBS2Text</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:dfBS2IText" class="def">dfBS2IText</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/libghc-case-insensitive-doc/html/Data-CaseInsensitive.html#t:CI">CI</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:DecodingFunctions" class="caption collapser" onclick="toggleSection('i:DecodingFunctions')">Instances</p><div id="section.i:DecodingFunctions" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:DecodingFunctions:Default:1" class="instance expander" onclick="toggleSection('i:id:DecodingFunctions:Default:1')"></span> <a href="file:///usr/share/doc/libghc-data-default-doc/html/Data-Default.html#t:Default">Default</a> <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a></span> <a href="src/Text-ICalendar-Parser-Common.html#line-65" class="link">Source</a> <a href="#t:DecodingFunctions" class="selflink">#</a></td><td class="doc"><p>UTF8.</p></td></tr><tr><td colspan="2"><div id="section.i:id:DecodingFunctions:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Text-ICalendar-Parser.html#t:DecodingFunctions">DecodingFunctions</a> <a href="#v:def" 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>
|