diff options
Diffstat (limited to 'html-test/ref/Hash.html')
-rw-r--r-- | html-test/ref/Hash.html | 191 |
1 files changed, 107 insertions, 84 deletions
diff --git a/html-test/ref/Hash.html b/html-test/ref/Hash.html index 6e15a771..85c61f62 100644 --- a/html-test/ref/Hash.html +++ b/html-test/ref/Hash.html @@ -1,32 +1,33 @@ -<!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 >Hash</title - ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" + ><link href="#" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript" ></script + ><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" + ></script ><script type="text/javascript" - >//<![CDATA[ -window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; -//]]> + >// +window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; +// </script ></head ><body ><div id="package-header" ><ul class="links" id="page-menu" ><li - ><a href="" + ><a href="#" >Contents</a ></li ><li - ><a href="" + ><a href="#" >Index</a ></li ></ul ><p class="caption empty" - > </p + ></p ></div ><div id="content" ><div id="module-header" @@ -46,13 +47,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; >Contents</p ><ul ><li - ><a href="" + ><a href="#" >The <code >HashTable</code > type</a ><ul ><li - ><a href="" + ><a href="#" >Operations on <code >HashTable</code >s</a @@ -60,7 +61,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ></ul ></li ><li - ><a href="" + ><a href="#" >The <code >Hash</code > class</a @@ -83,58 +84,52 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><li class="src short" ><span class="keyword" >data</span - > <a href="" + > <a href="#" >HashTable</a > key val</li ><li class="src short" - ><a href="" + ><a href="#" >new</a - > :: (<a href="" + > :: (<a href="#" >Eq</a - > key, <a href="" + > key, <a href="#" >Hash</a - > key) => <a href="" + > key) => <a href="#" >Int</a - > -> <a href="" + > -> <a href="#" >IO</a - > (<a href="" + > (<a href="#" >HashTable</a > key val)</li ><li class="src short" - ><a href="" + ><a href="#" >insert</a - > :: (<a href="" + > :: (<a href="#" >Eq</a - > key, <a href="" + > key, <a href="#" >Hash</a - > key) => key -> val -> <a href="" + > key) => key -> val -> <a href="#" >IO</a > ()</li ><li class="src short" - ><a href="" + ><a href="#" >lookup</a - > :: <a href="" + > :: <a href="#" >Hash</a - > key => key -> <a href="" + > key => key -> <a href="#" >IO</a - > (<a href="" + > (<a href="#" >Maybe</a > val)</li ><li class="src short" ><span class="keyword" >class</span - > <a href="" + > <a href="#" >Hash</a > a <span class="keyword" >where</span ><ul class="subs" - ><li - ><a href="" - >hash</a - > :: a -> <a href="" - >Int</a - ></li - ></ul + ></ul ></li ></ul ></div @@ -147,9 +142,11 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><p class="src" ><span class="keyword" >data</span - > <a href="" id="t:HashTable" class="def" + > <a id="t:HashTable" class="def" >HashTable</a - > key val</p + > key val <a href="#" class="selflink" + >#</a + ></p ><div class="doc" ><p >A hash table with keys of type <code @@ -160,7 +157,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; The type <code >key</code > should be an instance of <code - ><a href="" + ><a href="#" >Eq</a ></code >.</p @@ -172,19 +169,21 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; >s</h2 ><div class="top" ><p class="src" - ><a href="" id="v:new" class="def" + ><a id="v:new" class="def" >new</a - > :: (<a href="" + > :: (<a href="#" >Eq</a - > key, <a href="" + > key, <a href="#" >Hash</a - > key) => <a href="" + > key) => <a href="#" >Int</a - > -> <a href="" + > -> <a href="#" >IO</a - > (<a href="" + > (<a href="#" >HashTable</a - > key val)</p + > key val) <a href="#" class="selflink" + >#</a + ></p ><div class="doc" ><p >Builds a new hash table with a given size</p @@ -192,15 +191,17 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ></div ><div class="top" ><p class="src" - ><a href="" id="v:insert" class="def" + ><a id="v:insert" class="def" >insert</a - > :: (<a href="" + > :: (<a href="#" >Eq</a - > key, <a href="" + > key, <a href="#" >Hash</a - > key) => key -> val -> <a href="" + > key) => key -> val -> <a href="#" >IO</a - > ()</p + > () <a href="#" class="selflink" + >#</a + ></p ><div class="doc" ><p >Inserts a new element into the hash table</p @@ -208,26 +209,28 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ></div ><div class="top" ><p class="src" - ><a href="" id="v:lookup" class="def" + ><a id="v:lookup" class="def" >lookup</a - > :: <a href="" + > :: <a href="#" >Hash</a - > key => key -> <a href="" + > key => key -> <a href="#" >IO</a - > (<a href="" + > (<a href="#" >Maybe</a - > val)</p + > val) <a href="#" class="selflink" + >#</a + ></p ><div class="doc" ><p >Looks up a key in the hash table, returns <code ><code - ><a href="" + ><a href="#" >Just</a ></code > val</code > if the key was found, or <code - ><a href="" + ><a href="#" >Nothing</a ></code > otherwise.</p @@ -241,30 +244,42 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><p class="src" ><span class="keyword" >class</span - > <a href="" id="t:Hash" class="def" + > <a id="t:Hash" class="def" >Hash</a > a <span class="keyword" >where</span + > <a href="#" class="selflink" + >#</a ></p ><div class="doc" ><p >A class of types which can be hashed.</p ></div + ><div class="subs minimal" + ><p class="caption" + >Minimal complete definition</p + ><p class="src" + ><a href="#" + >hash</a + ></p + ></div ><div class="subs methods" ><p class="caption" >Methods</p ><p class="src" - ><a href="" id="v:hash" class="def" + ><a id="v:hash" class="def" >hash</a - > :: a -> <a href="" + > :: a -> <a href="#" >Int</a + > <a href="#" class="selflink" + >#</a ></p ><div class="doc" ><p >hashes the value of type <code >a</code > into an <code - ><a href="" + ><a href="#" >Int</a ></code ></p @@ -280,14 +295,16 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><span class="inst-left" ><span id="control.i:ic:Hash:Hash:1" class="instance expander" onclick="toggleSection('i:ic:Hash:Hash:1')" ></span - > <a href="" + > <a href="#" >Hash</a - > <a href="" + > <a href="#" >Float</a ></span + > <a href="#" class="selflink" + >#</a ></td ><td class="doc empty" - > </td + ></td ></tr ><tr ><td colspan="2" @@ -296,12 +313,14 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><p class="caption" >Methods</p ><p class="src" - ><a href="" + ><a href="#" >hash</a - > :: <a href="" + > :: <a href="#" >Float</a - > -> <a href="" + > -> <a href="#" >Int</a + > <a href="#" class="selflink" + >#</a ></p ></div ></div @@ -312,14 +331,16 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><span class="inst-left" ><span id="control.i:ic:Hash:Hash:2" class="instance expander" onclick="toggleSection('i:ic:Hash:Hash:2')" ></span - > <a href="" + > <a href="#" >Hash</a - > <a href="" + > <a href="#" >Int</a ></span + > <a href="#" class="selflink" + >#</a ></td ><td class="doc empty" - > </td + ></td ></tr ><tr ><td colspan="2" @@ -328,12 +349,14 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><p class="caption" >Methods</p ><p class="src" - ><a href="" + ><a href="#" >hash</a - > :: <a href="" + > :: <a href="#" >Int</a - > -> <a href="" + > -> <a href="#" >Int</a + > <a href="#" class="selflink" + >#</a ></p ></div ></div @@ -344,16 +367,18 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><span class="inst-left" ><span id="control.i:ic:Hash:Hash:3" class="instance expander" onclick="toggleSection('i:ic:Hash:Hash:3')" ></span - > (<a href="" + > (<a href="#" >Hash</a - > a, <a href="" + > a, <a href="#" >Hash</a - > b) => <a href="" + > b) => <a href="#" >Hash</a > (a, b)</span + > <a href="#" class="selflink" + >#</a ></td ><td class="doc empty" - > </td + ></td ></tr ><tr ><td colspan="2" @@ -362,10 +387,12 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ><p class="caption" >Methods</p ><p class="src" - ><a href="" + ><a href="#" >hash</a - > :: (a, b) -> <a href="" + > :: (a, b) -> <a href="#" >Int</a + > <a href="#" class="selflink" + >#</a ></p ></div ></div @@ -378,11 +405,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");}; ></div ></div ><div id="footer" - ><p - >Produced by <a href="" - >Haddock</a - > version 2.16.2</p - ></div + ></div ></body ></html -> +>
\ No newline at end of file |