From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA05139; Wed, 17 Oct 2001 08:13:31 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA05053 for ; Wed, 17 Oct 2001 08:13:30 +0200 (MET DST) Received: from yaman.serc.iisc.ernet.in ([144.16.85.188]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f9H6DRT00711 for ; Wed, 17 Oct 2001 08:13:28 +0200 (MET DST) Received: from localhost (maya@localhost) by yaman.serc.iisc.ernet.in (8.9.3/8.8.7) with ESMTP id LAA31820 for ; Wed, 17 Oct 2001 11:47:33 +0530 X-Authentication-Warning: yaman.serc.iisc.ernet.in: maya owned process doing -bs Date: Wed, 17 Oct 2001 11:47:32 +0530 (IST) From: Maya Ramanath X-Sender: maya@yaman.serc.iisc.ernet.in To: caml-list@inria.fr Subject: [Caml-list] Hashtbl.iter Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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