/usr/share/doc/libghc-optparse-applicative-doc/html/Options-Applicative-Help-Chunk.html is in libghc-optparse-applicative-doc 0.13.2.0-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 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>Options.Applicative.Help.Chunk</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_Options-Applicative-Help-Chunk.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Options-Applicative-Help-Chunk.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">optparse-applicative-0.13.2.0: Utilities and combinators for parsing command line options</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Options.Applicative.Help.Chunk</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:mappendWith">mappendWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a => a -> a -> a -> a</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Chunk">Chunk</a> a = <a href="#v:Chunk">Chunk</a> {<ul class="subs"><li><a href="#v:unChunk">unChunk</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a</li></ul>}</li><li class="src short"><a href="#v:chunked">chunked</a> :: (a -> a -> a) -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a</li><li class="src short"><a href="#v:listToChunk">listToChunk</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a => [a] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a</li><li class="src short"><a href="#v:-60--60--43--62--62-">(<<+>>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:-60--60--47--62--62-">(<</>>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:vcatChunks">vcatChunks</a> :: [<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:vsepChunks">vsepChunks</a> :: [<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:isEmpty">isEmpty</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:stringChunk">stringChunk</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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:paragraph">paragraph</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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:extractChunk">extractChunk</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a => <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> a</li><li class="src short"><a href="#v:tabulate">tabulate</a> :: [(<a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>, <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>)] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:mappendWith" class="def">mappendWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a => a -> a -> a -> a <a href="src/Options-Applicative-Help-Chunk.html#mappendWith" class="link">Source</a> <a href="#v:mappendWith" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Chunk" class="def">Chunk</a> a <a href="src/Options-Applicative-Help-Chunk.html#Chunk" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></p><div class="doc"><p>The free monoid on a semigroup <code>a</code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Chunk" class="def">Chunk</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:unChunk" class="def">unChunk</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a</dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:Chunk" class="caption collapser" onclick="toggleSection('i:Chunk')">Instances</p><div id="section.i:Chunk" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Chunk:Monad:1" class="instance expander" onclick="toggleSection('i:id:Chunk:Monad:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></span> <a href="src/Options-Applicative-Help-Chunk.html#line-44" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk:Monad:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-62--62--61-">(>>=)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> (a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b) -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b <a href="#v:-62--62--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62--62-">(>>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b <a href="#v:-62--62-" class="selflink">#</a></p><p class="src"><a href="#v:return">return</a> :: a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:return" class="selflink">#</a></p><p class="src"><a href="#v:fail">fail</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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:fail" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Chunk:Functor:2" class="instance expander" onclick="toggleSection('i:id:Chunk:Functor:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor.html#t:Functor">Functor</a> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></span> <a href="src/Options-Applicative-Help-Chunk.html#line-33" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk:Functor:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -> b) -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(<$)</a> :: a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:-60--36-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Chunk:Applicative:3" class="instance expander" onclick="toggleSection('i:id:Chunk:Applicative:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></span> <a href="src/Options-Applicative-Help-Chunk.html#line-36" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk:Applicative:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pure">pure</a> :: a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:pure" class="selflink">#</a></p><p class="src"><a href="#v:-60--42--62-">(<*>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> (a -> b) -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b <a href="#v:-60--42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-42--62-">(*>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b <a href="#v:-42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-60--42-">(<*)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> b -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:-60--42-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Chunk:Alternative:4" class="instance expander" onclick="toggleSection('i:id:Chunk:Alternative:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Alternative">Alternative</a> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></span> <a href="src/Options-Applicative-Help-Chunk.html#line-40" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk:Alternative:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:empty">empty</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:empty" class="selflink">#</a></p><p class="src"><a href="#v:-60--124--62-">(<|>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:-60--124--62-" class="selflink">#</a></p><p class="src"><a href="#v:some">some</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> [a] <a href="#v:some" class="selflink">#</a></p><p class="src"><a href="#v:many">many</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> [a] <a href="#v:many" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Chunk:MonadPlus:5" class="instance expander" onclick="toggleSection('i:id:Chunk:MonadPlus:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></span> <a href="src/Options-Applicative-Help-Chunk.html#line-48" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk:MonadPlus:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mzero">mzero</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:mzero" class="selflink">#</a></p><p class="src"><a href="#v:mplus">mplus</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:mplus" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Chunk:Eq:6" class="instance expander" onclick="toggleSection('i:id:Chunk:Eq:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a)</span> <a href="src/Options-Applicative-Help-Chunk.html#line-31" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk:Eq:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> 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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> 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:Chunk:Show:7" class="instance expander" onclick="toggleSection('i:id:Chunk: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 => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a)</span> <a href="src/Options-Applicative-Help-Chunk.html#line-31" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk: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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> 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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> 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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> 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:Chunk:Monoid:8" class="instance expander" onclick="toggleSection('i:id:Chunk:Monoid:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> (<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a)</span> <a href="src/Options-Applicative-Help-Chunk.html#line-69" class="link">Source</a> <a href="#t:Chunk" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chunk:Monoid:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mempty">mempty</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:mempty" class="selflink">#</a></p><p class="src"><a href="#v:mappend">mappend</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:mappend" class="selflink">#</a></p><p class="src"><a href="#v:mconcat">mconcat</a> :: [<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="#v:mconcat" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:chunked" class="def">chunked</a> :: (a -> a -> a) -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="src/Options-Applicative-Help-Chunk.html#chunked" class="link">Source</a> <a href="#v:chunked" class="selflink">#</a></p><div class="doc"><p>Given a semigroup structure on <code>a</code>, return a monoid structure on 'Chunk a'.</p><p>Note that this is <em>not</em> the same as <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#v:liftA2">liftA2</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:listToChunk" class="def">listToChunk</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a => [a] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a <a href="src/Options-Applicative-Help-Chunk.html#listToChunk" class="link">Source</a> <a href="#v:listToChunk" class="selflink">#</a></p><div class="doc"><p>Concatenate a list into a Chunk. <code><a href="Options-Applicative-Help-Chunk.html#v:listToChunk">listToChunk</a></code> satisfies:</p><pre>isEmpty . listToChunk = null
listToChunk = mconcat . fmap pure</pre></div></div><div class="top"><p class="src"><a id="v:-60--60--43--62--62-" class="def">(<<+>>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Options-Applicative-Help-Chunk.html#%3C%3C%2B%3E%3E" class="link">Source</a> <a href="#v:-60--60--43--62--62-" class="selflink">#</a></p><div class="doc"><p>Concatenate two <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code>s with a space in between. If one is empty, this
just returns the other one.</p><p>Unlike <code><a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#v:-60--43--62-"><+></a></code> for <code><a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></code>, this operation has a unit element, namely the empty
<code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:-60--60--47--62--62-" class="def">(<</>>)</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Options-Applicative-Help-Chunk.html#%3C%3C%2F%3E%3E" class="link">Source</a> <a href="#v:-60--60--47--62--62-" class="selflink">#</a></p><div class="doc"><p>Concatenate two <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code>s with a softline in between. This is exactly like
<code><a href="Options-Applicative-Help-Chunk.html#v:-60--60--43--62--62-"><<+>></a></code>, but uses a softline instead of a space.</p></div></div><div class="top"><p class="src"><a id="v:vcatChunks" class="def">vcatChunks</a> :: [<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Options-Applicative-Help-Chunk.html#vcatChunks" class="link">Source</a> <a href="#v:vcatChunks" class="selflink">#</a></p><div class="doc"><p>Concatenate <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code>s vertically.</p></div></div><div class="top"><p class="src"><a id="v:vsepChunks" class="def">vsepChunks</a> :: [<a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Options-Applicative-Help-Chunk.html#vsepChunks" class="link">Source</a> <a href="#v:vsepChunks" class="selflink">#</a></p><div class="doc"><p>Concatenate <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code>s vertically separated by empty lines.</p></div></div><div class="top"><p class="src"><a id="v:isEmpty" class="def">isEmpty</a> :: <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> 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="src/Options-Applicative-Help-Chunk.html#isEmpty" class="link">Source</a> <a href="#v:isEmpty" class="selflink">#</a></p><div class="doc"><p>Whether a <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code> is empty. Note that something like 'pure mempty' is not
considered an empty chunk, even though the underlying <code><a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></code> is empty.</p></div></div><div class="top"><p class="src"><a id="v:stringChunk" class="def">stringChunk</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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Options-Applicative-Help-Chunk.html#stringChunk" class="link">Source</a> <a href="#v:stringChunk" class="selflink">#</a></p><div class="doc"><p>Convert a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></code> into a <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code>. This satisfies:</p><pre>isEmpty . stringChunk = null
extractChunk . stringChunk = string</pre></div></div><div class="top"><p class="src"><a id="v:paragraph" class="def">paragraph</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="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Options-Applicative-Help-Chunk.html#paragraph" class="link">Source</a> <a href="#v:paragraph" class="selflink">#</a></p><div class="doc"><p>Convert a paragraph into a <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code>. The resulting chunk is composed by the
words of the original paragraph separated by softlines, so it will be
automatically word-wrapped when rendering the underlying document.</p><p>This satisfies:</p><pre>isEmpty . paragraph = null . words</pre></div></div><div class="top"><p class="src"><a id="v:extractChunk" class="def">extractChunk</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a => <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> a -> a <a href="src/Options-Applicative-Help-Chunk.html#extractChunk" class="link">Source</a> <a href="#v:extractChunk" class="selflink">#</a></p><div class="doc"><p>Part of a constrained comonad instance.</p><p>This is the counit of the adjunction between <code><a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a></code> and the forgetful
functor from monoids to semigroups. It satisfies:</p><pre>extractChunk . pure = id
extractChunk . fmap pure = id</pre></div></div><div class="top"><p class="src"><a id="v:tabulate" class="def">tabulate</a> :: [(<a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>, <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>)] -> <a href="Options-Applicative-Help-Chunk.html#t:Chunk">Chunk</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Options-Applicative-Help-Chunk.html#tabulate" class="link">Source</a> <a href="#v:tabulate" class="selflink">#</a></p><div class="doc"><p>Display pairs of strings in a table.</p></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>
|