This file is indexed.

/usr/share/doc/libghc-hledger-lib-doc/html/Hledger-Data-Commodity.html is in libghc-hledger-lib-doc 1.0.1-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
<!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>Hledger.Data.Commodity</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_Hledger-Data-Commodity.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Hledger-Data-Commodity.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">hledger-lib-1.0.1: Core data types, parsers and functionality for the hledger accounting tools</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>Haskell2010</td></tr></table><p class="caption">Hledger.Data.Commodity</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A <code><a href="Hledger-Data-Types.html#t:Commodity">Commodity</a></code> is a symbol representing a currency or some other kind of
thing we are tracking, and some display preferences that tell how to
display <code><a href="Hledger-Data-Types.html#t:Amount">Amount</a></code>s of the commodity - is the symbol on the left or right,
are thousands separated by comma, significant decimal places and so on.</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:nonsimplecommoditychars">nonsimplecommoditychars</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>]</li><li class="src short"><a href="#v:quoteCommoditySymbolIfNeeded">quoteCommoditySymbolIfNeeded</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><a href="#v:commodity">commodity</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>]</li><li class="src short"><a href="#v:commoditysymbols">commoditysymbols</a> :: [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>, <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a>)]</li><li class="src short"><a href="#v:comm">comm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a></li><li class="src short"><a href="#v:conversionRate">conversionRate</a> :: <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a> -&gt; <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:tests_Hledger_Data_Commodity">tests_Hledger_Data_Commodity</a> :: <a href="file:///usr/share/doc/libghc-hunit-doc/html/Test-HUnit-Base.html#t:Test">Test</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:nonsimplecommoditychars" class="def">nonsimplecommoditychars</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>] <a href="src/Hledger-Data-Commodity.html#nonsimplecommoditychars" class="link">Source</a> <a href="#v:nonsimplecommoditychars" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:quoteCommoditySymbolIfNeeded" class="def">quoteCommoditySymbolIfNeeded</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Hledger-Data-Commodity.html#quoteCommoditySymbolIfNeeded" class="link">Source</a> <a href="#v:quoteCommoditySymbolIfNeeded" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:commodity" class="def">commodity</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>] <a href="src/Hledger-Data-Commodity.html#commodity" class="link">Source</a> <a href="#v:commodity" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:commoditysymbols" class="def">commoditysymbols</a> :: [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>, <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a>)] <a href="src/Hledger-Data-Commodity.html#commoditysymbols" class="link">Source</a> <a href="#v:commoditysymbols" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:comm" class="def">comm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a> <a href="src/Hledger-Data-Commodity.html#comm" class="link">Source</a> <a href="#v:comm" class="selflink">#</a></p><div class="doc"><p>Look up one of the sample commodities' symbol by name.</p></div></div><div class="top"><p class="src"><a id="v:conversionRate" class="def">conversionRate</a> :: <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a> -&gt; <a href="Hledger-Data-Types.html#t:CommoditySymbol">CommoditySymbol</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Hledger-Data-Commodity.html#conversionRate" class="link">Source</a> <a href="#v:conversionRate" class="selflink">#</a></p><div class="doc"><p>Find the conversion rate between two commodities. Currently returns 1.</p></div></div><div class="top"><p class="src"><a id="v:tests_Hledger_Data_Commodity" class="def">tests_Hledger_Data_Commodity</a> :: <a href="file:///usr/share/doc/libghc-hunit-doc/html/Test-HUnit-Base.html#t:Test">Test</a> <a href="src/Hledger-Data-Commodity.html#tests_Hledger_Data_Commodity" class="link">Source</a> <a href="#v:tests_Hledger_Data_Commodity" class="selflink">#</a></p></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>