/usr/share/doc/libghc-happstack-state-doc/html/Happstack-State-ComponentTH.html is in libghc-happstack-state-doc 6.1.4-1.
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 | <!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>Happstack.State.ComponentTH</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Happstack-State-ComponentTH.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Happstack-State-ComponentTH.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">happstack-state-6.1.4: Event-based distributed state.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Happstack.State.ComponentTH</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:mkMethods">mkMethods</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Name">Name</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Name">Name</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> [<a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Dec">Dec</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:mkMethods" class="def">mkMethods</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Name">Name</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Name">Name</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> [<a href="/usr/share/doc/ghc-doc/html/libraries/template-haskell-2.7.0.0/Language-Haskell-TH-Syntax.html#t:Dec">Dec</a>]<a href="src/Happstack-State-ComponentTH.html#mkMethods" class="link">Source</a></p><div class="doc"><p>This function will derive, for the provided type name and the provided
list of methods, an instance of Methods for the given type and necessary
instance of UpdateEvent and QueryEvent to make the provided list of functions
into Methods.
This TH splice needs to be executed for any MACID state type in order to
have the necessary code for event handling generated.
Ex: <code>$(mkMethods ''Foo ['fooUpdate,<code>fooQuery</code>])</code>
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>
|