From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <5764c029b688c1c0d24a2e97cd764f@gmail.com> X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 9F04B7ED67 for ; Tue, 14 Aug 2012 21:59:29 +0200 (CEST) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of 5764c029b688c1c0d24a2e97cd764f@gmail.com) identity=pra; client-ip=209.85.215.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-sender="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of 5764c029b688c1c0d24a2e97cd764f@gmail.com designates 209.85.215.182 as permitted sender) identity=mailfrom; client-ip=209.85.215.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-sender="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ey0-f182.google.com) identity=helo; client-ip=209.85.215.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="5764c029b688c1c0d24a2e97cd764f@gmail.com"; x-sender="postmaster@mail-ey0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicNALqtKlDRVde2k2dsb2JhbABFgiQEgxJHsysDAQNsCCIBAQEBCQkLCRQEI4IgAQEBBBICDx0BGxwBAQMMBgULDQICBRYLAgIJAwIBAgEREQEFARwGDQEHAh6HWwEDDASZTwkDi1RPgnKFcAoZJw1XiHEBBQyBFYoYhGuBEgOVS4VciFc+g38 X-IronPort-AV: E=Sophos;i="4.77,768,1336341600"; d="scan'208";a="169898637" Received: from mail-ey0-f182.google.com ([209.85.215.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 14 Aug 2012 21:59:29 +0200 Received: by eaak11 with SMTP id k11so348545eaa.27 for ; Tue, 14 Aug 2012 12:59:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=24e06SoLAuE7zCBiZzFTm7/VneqcIjf+Cm3pmoKd92s=; b=f9/IT/5b2tq7mmTBrFz1eDrZa64yuZOcwRYTlFAtjuGoTjjzMnkaQ3qqssiliBw/Dz Leb3Om2+cVudTY1fhvgeBWS8xTcHuoD/DCaYzCibgWi5P/wYk3TLq6tF1qCRQUSLbe/o x1lFwRHFSR7DE+tQk1exhag3l2J/5aiOtgsvvuAA98mf/NovcCFoxNeXsgSB4nDSnYLF mFeUn4VzP8QIyTzinKKtBZWj4YPBYo6u/HXF7s0igLIxuxWuMQYrWdcVvAF3isL7QVCn dcuQRX7ec7mW1fRx2gEh0sfrUrcgcVSelFtklcQbeDZwal6CJpDdT1LF/SdX7DMCv/TU 3FjA== Received: by 10.14.224.4 with SMTP id w4mr8419588eep.21.1344974369110; Tue, 14 Aug 2012 12:59:29 -0700 (PDT) Received: from [172.27.6.213] ([213.106.240.92]) by mx.google.com with ESMTPS id h2sm9355847eeo.3.2012.08.14.12.59.27 (version=SSLv3 cipher=OTHER); Tue, 14 Aug 2012 12:59:28 -0700 (PDT) Message-ID: <502AAE21.9030205@gmail.com> Date: Tue, 14 Aug 2012 20:59:29 +0100 From: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: Esther Baruk CC: caml-list@inria.fr References: <502A6ABA.4070600@gmail.com> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Section 7.14: First-class modules On 14/08/12 16:28, Esther Baruk wrote: > Hi, > > the type expression must be put between parenthesis. I think it is an > error in the manual. > > The following works : (string, (module DEVICE)) Hashtbl.t I have filed a bugreport concerning the documentation. Besides missing parentheses, there were no other problems. I never needed this feature before but the refactoring I made today would be impossible without it. Thanks again :-)