/usr/share/doc/libghc-cabal-doc/html/Distribution-Simple-Program-HcPkg.html is in libghc-cabal-doc 1.22.5.0-2.
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>Distribution.Simple.Program.HcPkg</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_Distribution-Simple-Program-HcPkg.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Distribution-Simple-Program-HcPkg.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">Cabal-1.22.5.0: A framework for packaging Haskell software</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Duncan Coutts 2009, 2013</td></tr><tr><th>Maintainer</th><td>cabal-devel@haskell.org</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Distribution.Simple.Program.HcPkg</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Program invocations</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module provides an library interface to the <code>hc-pkg</code> program.
Currently only GHC, GHCJS and LHC have hc-pkg programs.</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:HcPkgInfo">HcPkgInfo</a> = <a href="#v:HcPkgInfo">HcPkgInfo</a> {<ul class="subs"><li><a href="#v:hcPkgProgram">hcPkgProgram</a> :: <a href="Distribution-Simple-Program-Types.html#t:ConfiguredProgram">ConfiguredProgram</a></li><li><a href="#v:noPkgDbStack">noPkgDbStack</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:noVerboseFlag">noVerboseFlag</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:flagPackageConf">flagPackageConf</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:useSingleFileDb">useSingleFileDb</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><a href="#v:init">init</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:invoke">invoke</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:register">register</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:reregister">reregister</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unregister">unregister</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:expose">expose</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:hide">hide</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:dump">dump</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a>]</li><li class="src short"><a href="#v:list">list</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="Distribution-Package.html#t:PackageId">PackageId</a>]</li><li class="src short"><a href="#v:initInvocation">initInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li><li class="src short"><a href="#v:registerInvocation">registerInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li><li class="src short"><a href="#v:reregisterInvocation">reregisterInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li><li class="src short"><a href="#v:unregisterInvocation">unregisterInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li><li class="src short"><a href="#v:exposeInvocation">exposeInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li><li class="src short"><a href="#v:hideInvocation">hideInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li><li class="src short"><a href="#v:dumpInvocation">dumpInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li><li class="src short"><a href="#v:listInvocation">listInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:HcPkgInfo" class="def">HcPkgInfo</a> <a href="src/Distribution-Simple-Program-HcPkg.html#HcPkgInfo" class="link">Source</a></p><div class="doc"><p>Information about the features and capabilities of an <code>hc-pkg</code>
program.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:HcPkgInfo" class="def">HcPkgInfo</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:hcPkgProgram" class="def">hcPkgProgram</a> :: <a href="Distribution-Simple-Program-Types.html#t:ConfiguredProgram">ConfiguredProgram</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:noPkgDbStack" class="def">noPkgDbStack</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>no package DB stack supported</p></dd><dt class="src"><a name="v:noVerboseFlag" class="def">noVerboseFlag</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>hc-pkg does not support verbosity flags</p></dd><dt class="src"><a name="v:flagPackageConf" class="def">flagPackageConf</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>use package-conf option instead of package-db</p></dd><dt class="src"><a name="v:useSingleFileDb" class="def">useSingleFileDb</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>requires single file package database</p></dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><a name="v:init" class="def">init</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Distribution-Simple-Program-HcPkg.html#init" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to initialise a package database at the location {path}.</p><pre>hc-pkg init {path}</pre></div></div><div class="top"><p class="src"><a name="v:invoke" class="def">invoke</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Distribution-Simple-Program-HcPkg.html#invoke" class="link">Source</a></p><div class="doc"><p>Run <code>hc-pkg</code> using a given package DB stack, directly forwarding the
provided command-line arguments to it.</p></div></div><div class="top"><p class="src"><a name="v:register" class="def">register</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Distribution-Simple-Program-HcPkg.html#register" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to register a package.</p><pre>hc-pkg register {filename | -} [--user | --global | --package-db]</pre></div></div><div class="top"><p class="src"><a name="v:reregister" class="def">reregister</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Distribution-Simple-Program-HcPkg.html#reregister" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to re-register a package.</p><pre>hc-pkg register {filename | -} [--user | --global | --package-db]</pre></div></div><div class="top"><p class="src"><a name="v:unregister" class="def">unregister</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Distribution-Simple-Program-HcPkg.html#unregister" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to unregister a package</p><pre>hc-pkg unregister [pkgid] [--user | --global | --package-db]</pre></div></div><div class="top"><p class="src"><a name="v:expose" class="def">expose</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Distribution-Simple-Program-HcPkg.html#expose" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to expose a package.</p><pre>hc-pkg expose [pkgid] [--user | --global | --package-db]</pre></div></div><div class="top"><p class="src"><a name="v:hide" class="def">hide</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Distribution-Simple-Program-HcPkg.html#hide" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to hide a package.</p><pre>hc-pkg hide [pkgid] [--user | --global | --package-db]</pre></div></div><div class="top"><p class="src"><a name="v:dump" class="def">dump</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a>] <a href="src/Distribution-Simple-Program-HcPkg.html#dump" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to get all the details of all the packages in the given
package database.</p></div></div><div class="top"><p class="src"><a name="v:list" class="def">list</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="Distribution-Package.html#t:PackageId">PackageId</a>] <a href="src/Distribution-Simple-Program-HcPkg.html#list" class="link">Source</a></p><div class="doc"><p>Call <code>hc-pkg</code> to get the source package Id of all the packages in the
given package database.</p><p>This is much less information than with <code><a href="Distribution-Simple-Program-HcPkg.html#v:dump">dump</a></code>, but also rather quicker.
Note in particular that it does not include the <code><a href="Distribution-Package.html#t:InstalledPackageId">InstalledPackageId</a></code>, just
the source <code><a href="Distribution-Package.html#t:PackageId">PackageId</a></code> which is not necessarily unique in any package db.</p></div></div><h1 id="g:1">Program invocations</h1><div class="top"><p class="src"><a name="v:initInvocation" class="def">initInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#initInvocation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:registerInvocation" class="def">registerInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#registerInvocation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:reregisterInvocation" class="def">reregisterInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDBStack">PackageDBStack</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> <a href="Distribution-InstalledPackageInfo.html#t:InstalledPackageInfo">InstalledPackageInfo</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#reregisterInvocation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:unregisterInvocation" class="def">unregisterInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#unregisterInvocation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:exposeInvocation" class="def">exposeInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#exposeInvocation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hideInvocation" class="def">hideInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Package.html#t:PackageId">PackageId</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#hideInvocation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dumpInvocation" class="def">dumpInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#dumpInvocation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:listInvocation" class="def">listInvocation</a> :: <a href="Distribution-Simple-Program-HcPkg.html#t:HcPkgInfo">HcPkgInfo</a> -> <a href="Distribution-Verbosity.html#t:Verbosity">Verbosity</a> -> <a href="Distribution-Simple-Compiler.html#t:PackageDB">PackageDB</a> -> <a href="Distribution-Simple-Program-Run.html#t:ProgramInvocation">ProgramInvocation</a> <a href="src/Distribution-Simple-Program-HcPkg.html#listInvocation" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|