From 9c23d5d3a21c8ef36204a4d66da4cdf488a08f72 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 8 Feb 2016 14:32:41 +0100 Subject: html-test: Accept test output --- html-test/ref/Hash.html | 159 ++++++++++++++++++++++++------------------------ 1 file changed, 79 insertions(+), 80 deletions(-) (limited to 'html-test/ref/Hash.html') diff --git a/html-test/ref/Hash.html b/html-test/ref/Hash.html index 6e15a771..f4e2d9ee 100644 --- a/html-test/ref/Hash.html +++ b/html-test/ref/Hash.html @@ -1,32 +1,33 @@ - Hash

 

data HashTable key val

key should be an instance of Eq.

s

new :: ( :: (Eq key, key, Hash key) => key) => Int -> -> IO ( (HashTable key val)

insert :: ( :: (Eq key, key, Hash key) => key -> val -> key) => key -> val -> IO ()

lookup :: :: Hash key => key -> key => key -> IO ( (Maybe val)

Looks up a key in the hash table, returns Just val if the key was found, or Nothing otherwise.

class Hash a where

A class of types which can be hashed.

Minimal complete definition

hash

Methods

hash :: a -> :: a -> Int

hashes the value of type a into an Int

Hash Float 

Methods

hash :: :: Float -> -> Int

Hash Int 

Methods

hash :: :: Int -> -> Int

( (Hash a, a, Hash b) => b) => Hash (a, b) 

Methods

hash :: (a, b) -> :: (a, b) -> Int

+> \ No newline at end of file -- cgit v1.2.3