From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 47E0B7ED7A for ; Tue, 18 Sep 2012 23:02:46 +0200 (CEST) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of mmatalka@gmail.com) identity=pra; client-ip=209.85.219.54; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of mmatalka@gmail.com designates 209.85.219.54 as permitted sender) identity=mailfrom; client-ip=209.85.219.54; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@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-oa0-f54.google.com) identity=helo; client-ip=209.85.219.54; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="postmaster@mail-oa0-f54.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AocEAP/gWFDRVds2m2dsb2JhbABFuzYEAQJ9CCMBAQEBAQgJCwkUJ4I5AiwBGx4DEhBdAREBBQFXh04BAwyZAIJhCQOMJYJzhSUKGScNWYh0AQUMi3oTgVl6gx8DlWOOQhYphAg X-IronPort-AV: E=Sophos;i="4.80,445,1344204000"; d="scan'208";a="173718395" Received: from mail-oa0-f54.google.com ([209.85.219.54]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 18 Sep 2012 23:02:32 +0200 Received: by oagm1 with SMTP id m1so594873oag.27 for ; Tue, 18 Sep 2012 14:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qA3ttd0IQgc5p8AAVlcNQ1pxdZzSo5ryxoNUc1iLdMM=; b=gmTEuAxLAiruM91tJ4dcw0XtIMiHeIjlH40PxzdbQQMko9XxFNBN295/VRy6/IRbzb 3Oc3XVnYGPQzOvsWQu4Y3/MNvnr0+XXFNdfbyH16MPPMb+nI4bBtXFuwxc8r8L6vkG1B VW7KR4KVIvCEPFDN51af3JDTigo5yWbzbL2K1SL3MAGTe2DnNOXBLOpQC0mt/Iy9kazv zSP1w74Sthnx714of9b1+ZZ2hHPoqux1vx3eVDircqbTWQw4Kyv4sWi9ySFekXxNbobV LxfC7mwKDZPLLMG0hbU03tjtbKYtK2hcC2P8SfvAwBZ6/lD1luBV71LVXWzJ22UUafC+ dFmg== MIME-Version: 1.0 Received: by 10.60.154.198 with SMTP id vq6mr1554580oeb.20.1348002151228; Tue, 18 Sep 2012 14:02:31 -0700 (PDT) Received: by 10.76.23.9 with HTTP; Tue, 18 Sep 2012 14:02:31 -0700 (PDT) Date: Tue, 18 Sep 2012 23:02:31 +0200 Message-ID: From: Malcolm Matalka To: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Subject: [Caml-list] Expressing module sig and impl in mli file I'm sure this question has been asked before but I didn't see it in the Ocaml FAQ and I'm not sure how to express it for a search. In short, how do I express the following line in a .mli file: module Foo : Bar = Baz What I want to accomplish is make present the module Foo to the user, where they know both the interface and the concerete types on Foo. Thanks! /Malcolm