/usr/share/doc/libghc-parsec3-doc/html/Text-Parsec-Language.html is in libghc-parsec3-doc 3.1.11-3.
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 6 7 8 9 10 11 12 13 14 | <!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.Parsec.Language</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-Parsec-Language.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Parsec-Language.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">parsec-3.1.11: Monadic parser combinators</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Daan Leijen 1999-2001, (c) Paolo Martini 2007</td></tr><tr><th>License</th><td>BSD-style (see the LICENSE file)</td></tr><tr><th>Maintainer</th><td>derek.a.elkins@gmail.com</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>non-portable (uses non-portable module Text.Parsec.Token)</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.Parsec.Language</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A helper module that defines some language definitions that can be used
to instantiate a token parser (see <a href="Text-Parsec-Token.html">Text.Parsec.Token</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"><a href="#v:haskellDef">haskellDef</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st</li><li class="src short"><a href="#v:haskell">haskell</a> :: <a href="Text-Parsec-Token.html#t:TokenParser">TokenParser</a> st</li><li class="src short"><a href="#v:mondrianDef">mondrianDef</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st</li><li class="src short"><a href="#v:mondrian">mondrian</a> :: <a href="Text-Parsec-Token.html#t:TokenParser">TokenParser</a> st</li><li class="src short"><a href="#v:emptyDef">emptyDef</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st</li><li class="src short"><a href="#v:haskellStyle">haskellStyle</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st</li><li class="src short"><a href="#v:javaStyle">javaStyle</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st</li><li class="src short"><span class="keyword">type</span> <a href="#t:LanguageDef">LanguageDef</a> st = <a href="Text-Parsec-Language.html#t:GenLanguageDef">GenLanguageDef</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> st <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor-Identity.html#t:Identity">Identity</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:GenLanguageDef">GenLanguageDef</a> s u m</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:haskellDef" class="def">haskellDef</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st <a href="src/Text-Parsec-Language.html#haskellDef" class="link">Source</a> <a href="#v:haskellDef" class="selflink">#</a></p><div class="doc"><p>The language definition for the Haskell language.</p></div></div><div class="top"><p class="src"><a id="v:haskell" class="def">haskell</a> :: <a href="Text-Parsec-Token.html#t:TokenParser">TokenParser</a> st <a href="src/Text-Parsec-Language.html#haskell" class="link">Source</a> <a href="#v:haskell" class="selflink">#</a></p><div class="doc"><p>A lexer for the haskell language.</p></div></div><div class="top"><p class="src"><a id="v:mondrianDef" class="def">mondrianDef</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st <a href="src/Text-Parsec-Language.html#mondrianDef" class="link">Source</a> <a href="#v:mondrianDef" class="selflink">#</a></p><div class="doc"><p>The language definition for the language Mondrian.</p></div></div><div class="top"><p class="src"><a id="v:mondrian" class="def">mondrian</a> :: <a href="Text-Parsec-Token.html#t:TokenParser">TokenParser</a> st <a href="src/Text-Parsec-Language.html#mondrian" class="link">Source</a> <a href="#v:mondrian" class="selflink">#</a></p><div class="doc"><p>A lexer for the mondrian language.</p></div></div><div class="top"><p class="src"><a id="v:emptyDef" class="def">emptyDef</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st <a href="src/Text-Parsec-Language.html#emptyDef" class="link">Source</a> <a href="#v:emptyDef" class="selflink">#</a></p><div class="doc"><p>This is the most minimal token definition. It is recommended to use
this definition as the basis for other definitions. <code>emptyDef</code> has
no reserved names or operators, is case sensitive and doesn't accept
comments, identifiers or operators.</p></div></div><div class="top"><p class="src"><a id="v:haskellStyle" class="def">haskellStyle</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st <a href="src/Text-Parsec-Language.html#haskellStyle" class="link">Source</a> <a href="#v:haskellStyle" class="selflink">#</a></p><div class="doc"><p>This is a minimal token definition for Haskell style languages. It
defines the style of comments, valid identifiers and case
sensitivity. It does not define any reserved words or operators.</p></div></div><div class="top"><p class="src"><a id="v:javaStyle" class="def">javaStyle</a> :: <a href="Text-Parsec-Language.html#t:LanguageDef">LanguageDef</a> st <a href="src/Text-Parsec-Language.html#javaStyle" class="link">Source</a> <a href="#v:javaStyle" class="selflink">#</a></p><div class="doc"><p>This is a minimal token definition for Java style languages. It
defines the style of comments, valid identifiers and case
sensitivity. It does not define any reserved words or operators.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:LanguageDef" class="def">LanguageDef</a> st = <a href="Text-Parsec-Language.html#t:GenLanguageDef">GenLanguageDef</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> st <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor-Identity.html#t:Identity">Identity</a> <a href="src/Text-Parsec-Token.html#LanguageDef" class="link">Source</a> <a href="#t:LanguageDef" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:GenLanguageDef" class="def">GenLanguageDef</a> s u m <a href="src/Text-Parsec-Token.html#GenLanguageDef" class="link">Source</a> <a href="#t:GenLanguageDef" class="selflink">#</a></p><div class="doc"><p>The <code>GenLanguageDef</code> type is a record that contains all parameterizable
features of the <a href="Text-Parsec-Token.html">Text.Parsec.Token</a> module. The module <a href="Text-Parsec-Language.html">Text.Parsec.Language</a>
contains some default definitions.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|