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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 2D896BC57 for ; Tue, 16 Nov 2010 15:23:51 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsEFAJMi4kyty1O7/2dsb2JhbACUX44Acb5yhUsEhFqJCho X-IronPort-AV: E=Sophos;i="4.59,206,1288566000"; d="scan'208";a="78956409" Received: from elehack.net ([173.203.83.187]) by mail2-smtp-roc.national.inria.fr with ESMTP; 16 Nov 2010 15:23:50 +0100 Received: from [192.168.42.103] (unknown [68.168.162.166]) by elehack.net (Postfix) with ESMTPSA id 53467C860A for ; Tue, 16 Nov 2010 08:23:50 -0600 (CST) Message-ID: <4CE293F3.7050708@elehack.net> Date: Tue, 16 Nov 2010 08:23:47 -0600 From: Michael Ekstrand User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Option functions (or lack thereof) + operator for composition References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocaml:01 findlib:01 findlib:01 ocaml:01 wrote:01 caml-list:01 functions:01 dependency:01 tree:02 module:03 library:03 tricky:04 install:05 install:05 standard:07 On 11/16/2010 05:49 AM, David Allsopp wrote: > ExtLib is well-worth having and it's very easy to install (just run > ocaml install.ml in its source tree - findlib recommended but I've > got a feeling that it can install without findlib as well). It's also > very stable, feature-wise, so you're not really adding a tricky > dependency. It's now hosted on Google Code at > http://code.google.com/p/ocaml-extlib/downloads/list > > You might also take a look at the batteries project > (http://batteries.forge.ocamlcore.org) which I believe includes most > if not all of ExtLib. Yes, Batteries includes pretty much all of Extlib (I'm not aware of any missing pieces), and specifically includes the Option module. I would recommend writing any new OCaml code with something like Batteries (or Jane St.'s Core, if you prefer) if at all possible; it fills in a lot of gaps in the standard library. - Michael