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 VAA32068; Mon, 27 May 2002 21:05:01 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA31921 for ; Mon, 27 May 2002 21:05:00 +0200 (MET DST) Received: from beaune.inria.fr (beaune.inria.fr [128.93.8.3]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4RJ4xD08741; Mon, 27 May 2002 21:04:59 +0200 (MET DST) Received: by beaune.inria.fr (8.8.8/1.1.22.3/14Sep99-0328PM) id VAA0000015105; Mon, 27 May 2002 21:04:58 +0200 (MET DST) Date: Mon, 27 May 2002 21:04:58 +0200 (MET DST) From: Damien Doligez Message-Id: <200205271904.VAA0000015105@beaune.inria.fr> To: skaller@ozemail.com.au, xavier.leroy@inria.fr Subject: Re: [Caml-list] Hashtbl iter semantics Cc: caml-list@inria.fr Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >From: John Max Skaller >For example: delete: if a binding is deleted it won't be presented >subsequently. >Add: the binding may or may not be presented. >Replace: if the binding is presented, it will have the data value used >in replace. >If the binding was already presented, it will not be represented. >Otherwise: the binding will be presented with its initial data value. AFAICT from a quick look at the source, it's more like this: delete: the binding may or may not be presented subsequently add: the binding may or may not be presented replace: the binding may be presented with the old or the new data value; if it was already presented, it will not be represented otherwise: the binding will be presented with its initial data value. -- Damien ------------------- 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