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 RAA17205; Sat, 8 Nov 2003 17:50:48 +0100 (MET) 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 RAA16602 for ; Sat, 8 Nov 2003 17:50:45 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from eposta.kablonet.com.tr ([62.248.102.66]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id hA8Gog115743 for ; Sat, 8 Nov 2003 17:50:43 +0100 (MET) Received: (qmail 32955 invoked by uid 0); 8 Nov 2003 16:55:50 -0000 Received: from unknown (HELO 195.174.173.82) (exa@kablonet.com.tr@195.174.173.82) by 0 with SMTP; 8 Nov 2003 16:55:50 -0000 From: Eray Ozkural Reply-To: erayo@cs.bilkent.edu.tr Organization: Bilkent University CS Dept. To: Samuel Lacas , caml-list@inria.fr Subject: Re: [Caml-list] Efficient and canonical set representation? Date: Sat, 8 Nov 2003 18:50:32 +0200 User-Agent: KMail/1.5.93 References: <20031107164428.B11780@ouessant.trusted-logic.fr> In-Reply-To: <20031107164428.B11780@ouessant.trusted-logic.fr> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200311081850.32465.exa@kablonet.com.tr> X-Loop: caml-list@inria.fr X-Spam: no; 0.00; eray:01 ozkural:01 caml-list:01 44,:01 samuel:01 lacas:01 hash:01 eray:01 ozkural:01 erayo:01 bilkent:01 bilkent:01 ankara:01 kde:01 kde:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Friday 07 November 2003 17:44, Samuel Lacas wrote: > Hmm, except that, if I'm not wrong, it was required the structure to > hold any kind of object. Sorted arrays require the elements to be > sortable. Using the hash of the objects may be an answer ? You can give a number to each member object I guess in a lot of cases. But of course, in general a set doesn't mean "set of sortable objects". Regards, -- Eray Ozkural (exa) Comp. Sci. Dept., Bilkent University, Ankara KDE Project: http://www.kde.org www: http://www.cs.bilkent.edu.tr/~erayo Malfunction: http://mp3.com/ariza GPG public key fingerprint: 360C 852F 88B0 A745 F31B EA0F 7C07 AE16 874D 539C ------------------- 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