From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 404D0BBBB for ; Fri, 3 Mar 2006 16:42:01 +0100 (CET) Received: from warchicken.phauna.org (67-100-183-97.adsl.lbdsl.net [67.100.183.97]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k23FfxWU030837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 3 Mar 2006 16:42:01 +0100 Received: from ogunden by warchicken.phauna.org with local (Exim 4.54) id 1FFCPn-0007Wf-CY for caml-list@yquem.inria.fr; Fri, 03 Mar 2006 10:41:59 -0500 Date: Fri, 3 Mar 2006 10:41:59 -0500 From: "N. Owen Gunden" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Map.fold behavior changed Message-ID: <20060303154159.GA28261@phauna.org> References: <20060224160115.56522.qmail@web50408.mail.yahoo.com> <4406F9E1.6010801@sms.ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4406F9E1.6010801@sms.ed.ac.uk> User-Agent: Mutt/1.5.11 X-Miltered: at nez-perce with ID 440863C7.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 owen:98 wrote:01 string:02 string:02 sys:03 numerical:03 thu:05 fold:06 nicely:07 shouldn't:09 actually:10 cooper:12 kind:12 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=FORGED_RCVD_HELO,SPF_SOFTFAIL autolearn=disabled version=3.0.3 On Thu, Mar 02, 2006 at 01:57:53PM +0000, Ezra Cooper wrote: > Is there any reason why Sys.ocaml_version is a string, by the way? > Shouldn't it be some kind of numerical representation to make it easy to > do ordered comparisons? Actually ordered comparisons work very nicely on string version numbers.