From 8410dd341a1730f708af3f0d96d13f2b5f7b9df5 Mon Sep 17 00:00:00 2001 From: Phil Ruffwind Date: Wed, 30 Sep 2015 03:22:14 -0400 Subject: Update tests for previous commit --- html-test/ref/Hash.html | 44 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 10 deletions(-) (limited to 'html-test/ref/Hash.html') diff --git a/html-test/ref/Hash.html b/html-test/ref/Hash.html index f4e2d9ee..85c61f62 100644 --- a/html-test/ref/Hash.html +++ b/html-test/ref/Hash.html @@ -142,9 +142,11 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html"); >

data HashTable key val

key val #

A hash table with keys of type s

new :: (EqIO (HashTable key val)

key val) #

Builds a new hash table with a given size

insert :: (EqHash key) => key -> val -> IO ()

() #

Inserts a new element into the hash table

lookup :: HashIO (Maybe val)

val) #

Looks up a key in the hash table, returns

class Hash a where #

Methods

hash :: a -> Int #

Float #Float -> Int #

Int #Int -> Int #

b) => Hash (a, b) #hash :: (a, b) -> Int #