Browse thread
[Caml-list] Hashtbl.iter
[
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: | Maya Ramanath <maya@d...> |
| Subject: | [Caml-list] Hashtbl.iter |
Hi, The question is with regard to Hashtbl.iter. Basically, what happens when I'm doing an iteration on the Hashtbl and at the same time add something new to the hashtable ? For ex: let xyz ht key value = (* Do something with key, value *) if (some-condition-holds) then ht.add something new let abc ht = Hashtbl.iter (xyz ht) ht I would like to know if the new things that I added to the hashtable will be picked up by the iterator. - Maya ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr