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=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id A558BBC69 for ; Thu, 4 Oct 2007 14:30:07 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAB56BEfAXQImh2dsb2JhbACOOAEBCQon X-IronPort-AV: E=Sophos;i="4.21,229,1188770400"; d="scan'208";a="17285729" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 04 Oct 2007 14:30:07 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l94CU6k8004968 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 4 Oct 2007 14:30:07 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAB56BEfC2fJYnmdsb2JhbACOOAEBAgcEBic X-IronPort-AV: E=Sophos;i="4.21,229,1188770400"; d="scan'208";a="17285724" Received: from anchor-post-30.mail.demon.net ([194.217.242.88]) by mail4-smtp-sop.national.inria.fr with ESMTP; 04 Oct 2007 14:30:02 +0200 Received: from orion.metastack.com ([80.177.38.218]) by anchor-post-30.mail.demon.net with esmtp (Exim 4.67) id 1IdPq5-000Hyi-0m for caml-list@inria.fr; Thu, 04 Oct 2007 12:30:01 +0000 Received: from countertenor (156-32-32-212.diowest-ll.ll.ftech.net [212.32.32.156] (may be forged)) (authenticated bits=0) by orion.metastack.com (8.13.4/8.13.3) with ESMTP id l94CRcDf005358 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 4 Oct 2007 13:27:38 +0100 From: "David Allsopp" To: "'OCaml'" References: <1191500391.6118.23.camel@Blefuscu> Subject: RE: [Caml-list] Importing module signatures ? Date: Thu, 4 Oct 2007 13:29:05 +0100 Organization: MetaStack Solutions Ltd. Message-ID: <01e701c80682$29580a90$017ca8c0@countertenor> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcgGgKExJJAIlF5OSf2Ly50jLf0yYAAATg0w In-Reply-To: <1191500391.6118.23.camel@Blefuscu> X-Miltered: at discorde with ID 4704DCCE.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; mli:01 ocaml:01 lib:01 ocamlc:01 signatures:01 caml-list:01 inferred:02 string:02 string:02 seems:03 module:03 module:03 i'd:06 interface:06 interface:06 > It seems that String is the name of the module structure itself rather > than its signature. But what is the name of the signature ? Module String is not constrained by a named signature - you either need to copy the interface from string.mli (it'll be in your ocaml lib directory) or use ocamlc -i to generate an inferred interface and copy it in (cf. the Extlib module ExtList.List). If there is another way, then I'd be fascinated to hear it too! David