Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Should be INSIDE STANDARD-LIB: Hashtbl.keys
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Should be INSIDE STANDARD-LIB: Hashtbl.keys
On Wed, Apr 21, 2004 at 03:19:04AM +0200, Oliver Bandel wrote:
> I think a good addition to the Hashtbl-module
> would be a function, that gives back a list of keys
> that are in the hash.

And also a 'values' function which returns all the values.

Both functions, BTW, are easily written using the Hashtbl's fold
function; but they ought to be part of the standard library.


Richard Jones.
Merjis Ltd. - improving website return on investment - CRM improvement consultancy

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: