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 LAA22403; Wed, 15 Oct 2003 11:55:24 +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 LAA12470 for ; Wed, 15 Oct 2003 11:55:23 +0200 (MET DST) Received: from inria.fr (macaque.inria.fr [128.93.8.158]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h9F9tM113247 for ; Wed, 15 Oct 2003 11:55:23 +0200 (MET DST) Date: Wed, 15 Oct 2003 11:56:26 +0200 Subject: Re: [Caml-list] interface of sorted collections Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Damien Doligez To: Caml Mailing List Content-Transfer-Encoding: 7bit In-Reply-To: <3F8CF5E8.9020608@bik-gmbh.de> Message-Id: X-Mailer: Apple Mail (2.552) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 damien:01 damien:01 florian:01 hars:01 lindig:01 doligez:01 doligez:01 modules:02 wrote:03 wrote:03 interface:03 arguments:03 types:03 quite:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wednesday, October 15, 2003, at 09:23 AM, Florian Hars wrote: > Christian Lindig wrote: >> I have noted that in sorted collections like the Map and Set modules > > They are unsorted collections. If you observe some kind of sorting in > these collections, it is just an implementation accident. Not quite. Both Set and Map demand ordered types as arguments, and that's no accident. -- 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