From: Maya Ramanath <maya@dsl.serc.iisc.ernet.in>
To: caml-list@inria.fr
Subject: [Caml-list] Hashtbl.iter
Date: Wed, 17 Oct 2001 11:47:32 +0530 (IST) [thread overview]
Message-ID: <Pine.LNX.4.21.0110171146330.31792-100000@yaman.serc.iisc.ernet.in> (raw)
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
next reply other threads:[~2001-10-17 6:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 6:17 Maya Ramanath [this message]
2001-10-17 6:28 ` Jacques Garrigue
[not found] ` <9qj955$1l5$1@qrnik.zagroda>
2001-10-17 6:51 ` Marcin 'Qrczak' Kowalczyk
2001-10-17 8:30 ` Jacques Garrigue
2001-10-17 8:49 ` Fabrice Le Fessant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.21.0110171146330.31792-100000@yaman.serc.iisc.ernet.in \
--to=maya@dsl.serc.iisc.ernet.in \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox