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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id E71D2BC37 for ; Tue, 10 Nov 2009 09:31:34 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhQBAA20+ErRVdzbkGdsb2JhbACSA4Iwhwo/AQEBAQkJDAcTA695gTmGIIhqAQMDBYQ5BIFo X-IronPort-AV: E=Sophos;i="4.44,715,1249250400"; d="scan'208";a="37836743" Received: from mail-fx0-f219.google.com ([209.85.220.219]) by mail3-smtp-sop.national.inria.fr with ESMTP; 10 Nov 2009 09:31:34 +0100 Received: by fxm19 with SMTP id 19so1741423fxm.17 for ; Tue, 10 Nov 2009 00:31:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=YjDm5FHVeVyWu6Ss4BZnkpv4hYDc28IU3L0E/LVXodA=; b=Y8383VtzdoWk6/39GnQ1RGpBOU1HzbiRBup4k5ldXBsEQhuREEcp2YvYyOrwSiPEHz zimZ/lOe1rPta3vX5CNhenaj6kCGGIaVfBdqsczfXZ2Ehfz7opsI0DquLQxztdlS9SCz 1Ua/3TUFK9xYOItZN4KdaA9u3y4WlWUmVoUGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rIgd+C2MAzz7NFzNPg+goWHpeJLZWVWbGogIzDZ3O16/dE7JfpQB+Go5MhzCHvRm3k ouw9MPDSjcX5HUGJhzSafNii76YvQjiqqLa9FFj31sQczH0YWgLOZy4cXy9wB7FU/28N t1v5z1Rhds7ZxWs2PSkAL3Kzip51b98FVE2Ik= MIME-Version: 1.0 Received: by 10.204.35.11 with SMTP id n11mr881882bkd.40.1257841893987; Tue, 10 Nov 2009 00:31:33 -0800 (PST) In-Reply-To: <42c6c020911100013h22f62eacr45e811e668aed42e@mail.gmail.com> References: <42c6c020911100013h22f62eacr45e811e668aed42e@mail.gmail.com> Date: Tue, 10 Nov 2009 08:31:33 +0000 Message-ID: <6cb897b30911100031k7cee1d56tbe11f1d5adce9af4@mail.gmail.com> Subject: Re: [Caml-list] Modules From: Pierre-Evariste Dagand To: Wouter Swierstra Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; functors:01 ocaml's:01 ocaml:01 oreilly-book:01 caml-list:01 ens-cachan:01 modules:02 modules:02 caml:02 caml:02 objective:02 functional:02 module:03 module:03 programming:03 Hi Wouter, > While I'm familiar with functional programming, I am occasionally puzzled by > errors relating to the module system. That's normal, everyone does, at some point. Especially when you start having Parameterized Modules (called Functors in ML) all over the place. > I was wondering if there was a > comprehensive overview/tutorial of OCaml's module system. For a comprehensive source of information, there is the OCaml manual: http://caml.inria.fr/pub/docs/manual-ocaml/manual004.html For a tutorial on modules, I would recommend Chapter 14 of "Developing Applications With Objective Caml": http://caml.inria.fr/pub/docs/oreilly-book/html/index.html Hope this helps, -- Pierre-Evariste DAGAND http://perso.eleves.bretagne.ens-cachan.fr/~dagand/