Browse thread
[Caml-list] Should be INSIDE STANDARD-LIB: Hashtbl.keys
-
oliver@f...
- Richard Jones
- Martin Jambon
- Xavier Leroy
- John Goerzen
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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. Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment http://www.winwinsales.co.uk/ - CRM improvement consultancy ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners