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.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 49A17BC6C for ; Tue, 5 Feb 2008 14:47:20 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4HACv3p0fUnw6Eg2dsb2JhbACCNo1oDQEBAQgEBggJEQecSw X-IronPort-AV: E=Sophos;i="4.25,308,1199660400"; d="scan'208";a="8781577" Received: from pih-relay05.plus.net ([212.159.14.132]) by mail3-smtp-sop.national.inria.fr with ESMTP; 05 Feb 2008 14:47:19 +0100 Received: from [80.229.56.224] (helo=beast.local) by pih-relay05.plus.net with esmtp (Exim) id 1JMO8m-0001xW-Gz for caml-list@yquem.inria.fr; Tue, 05 Feb 2008 13:47:15 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] [OSR] Suggested topic - XML processing API Date: Tue, 5 Feb 2008 13:29:01 +0000 User-Agent: KMail/1.9.7 References: <42E82E2A-5A21-426A-9D3F-E4BBE32F0EEC@erratique.ch> <1202207990-sup-8670@port-ext6.ensta.fr> In-Reply-To: <1202207990-sup-8670@port-ext6.ensta.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802051329.01907.jon@ffconsultancy.com> X-Plusnet-Relay: 2388ae498f0831483887e9d2446491a3 X-Spam: no; 0.00; variants:01 ocaml:01 ocaml:01 frog:98 polymorphic:01 wrote:01 caml-list:01 pervasive:01 int:01 modules:02 api:02 module:03 module:03 float:03 simpler:05 On Tuesday 05 February 2008 10:43:51 Nicolas Pouillard wrote: > However I think that for error handling option and either are > simpler solutions. Then going to polymorphic variants because OCaml > don't have "either" in pervasive is sad (in fact I think that OCaml > deserve a "either" type, even more: an "Either" module). ... and an "Option" module for the "option" type. And "Int" and "Float" modules ... -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e