From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=AWL,HTML_MESSAGE, MAILTO_TO_SPAM_ADDR autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 88264BBCA for ; Mon, 17 Mar 2008 00:26:12 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArAAAN5J3UfRVca5kmdsb2JhbACCPDaODwEBAQEHBAQJChaQGoRU X-IronPort-AV: E=Sophos;i="4.25,510,1199660400"; d="scan'208";a="23839781" Received: from rv-out-0910.google.com ([209.85.198.185]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 Mar 2008 00:25:43 +0100 Received: by rv-out-0910.google.com with SMTP id k20so2732665rvb.3 for ; Sun, 16 Mar 2008 16:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=N68LBmU4WMjY2c384Ehc+VdWz6UJvMvLqpznalHAe/Q=; b=mRTks+OQYL64OXLh8VEVyZ3QZ1qpr4OCBkKKm6aOPErWEwS9ILhMrAZ75+bajI1R6ZKG1uj5N0wuF1wrYNQR8yzbRq3rcg+/ycBXIlMyhgDgUefTKRX9f/Amv+3nyJgx+iEe/4+qWJIg1PHUxvku26YvtEZz5cpKxwnUNDvEGSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=mLGFupK0p6Giw1rLLpz3m7vSwoTXU8lvAaiRhD9VOfOKV6HtEibf6TLL4zb8bj37WUQRWyDIPoxOqOgz5dkiBZrozY2XKlg3Pbu3lZ66eWnNFTp0O1xp/4qHl90f641vctmvIu0gsTYqChOs4X8Redm3ZpmjBcW7brhDn0WfbsY= Received: by 10.140.201.1 with SMTP id y1mr6890920rvf.246.1205709941539; Sun, 16 Mar 2008 16:25:41 -0700 (PDT) Received: by 10.141.41.9 with HTTP; Sun, 16 Mar 2008 16:25:41 -0700 (PDT) Message-ID: Date: Sun, 16 Mar 2008 19:25:41 -0400 From: "Ashish Agarwal" To: caml-list Subject: Re: [Caml-list] is there a Roman Numeral library Cc: "Nathan Mishra Linger" , "Dave Benjamin" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8067_1887409.1205709941534" References: X-Spam: no; 0.00; integers:01 ocaml:01 integers:01 ocaml:01 1975:98 numeral:98 nathan:98 nathan:98 1975:98 wrote:01 wrote:01 caml-list:01 algorithms:03 algorithms:03 library:03 ------=_Part_8067_1887409.1205709941534 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks to both for the implementations. The algorithms differ, and so it was not obvious that both generate equivalent results. I did some testing and verified that they do (I ran for integers between 0 and 1000000). Thanks again. On Sun, Mar 16, 2008 at 2:20 AM, Nathan Mishra Linger < nathan.mishralinger@gmail.com> wrote: > Hi Ashish, > > Here is something I wrote a while back. Let me know if it works out for you. > > Nathan > > > 2008/3/14 Ashish Agarwal : > > > > > Hi all. Does anyone have an OCaml libary for working with Roman Numerals? Probably easy to write but am hoping it already exists. Thank you. > > > > ------=_Part_8067_1887409.1205709941534 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks to both for the implementations. The algorithms differ, and so it was not obvious that both generate equivalent results. I did some testing and verified that they do (I ran for integers between 0 and 1000000).

Thanks again.


On Sun, Mar 16, 2008 at 2:20 AM, Nathan Mishra Linger <nathan.mishralinger@gmail.com> wrote:
> Hi Ashish,
>
> Here is something I wrote a while back. Let me know if it works out for you.
>
> Nathan
>
>
> 2008/3/14 Ashish Agarwal <agarwal1975@gmail.com>:
>
> >
> > Hi all. Does anyone have an OCaml libary for working with Roman Numerals? Probably easy to write but am hoping it already exists. Thank you.
> >
> >
------=_Part_8067_1887409.1205709941534--