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=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 93190BC69 for ; Mon, 30 Jul 2007 09:03:38 +0200 (CEST) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.179]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6U73cC7010551 for ; Mon, 30 Jul 2007 09:03:38 +0200 Received: by ik-out-1112.google.com with SMTP id b35so1008136ika for ; Mon, 30 Jul 2007 00:03:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hSByDCkkN52Cmki3aBYuogeatRLsprOmf97OHu+dzyPi8F1A3TP6VqE/jLy2ojm8g4ZFuk5iH7ykVD/NcGfD5TUHVIjQ1+mOuzlllOWShDAL8UG2Qn8foUT8RNJxjC+euqvb60JSb2y//jfDKHQAWPgQUZjWyoxT5R2PesFmx68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=RxwNPET71eltt2D4c3pHCEoc3SCX6vZkz6NdLuVtJq9QmvQEtw8tim3LSFWANBgDGrxVlZo9VOLKuweEMQ5fu0ixDSOhouBjNymlCJHHLMeA790alcHDwuT7UN1SK44gp9RZdNID2+uItGIhGVrT5dncMFS/tWlRwgZYCLXjXnM= Received: by 10.78.172.20 with SMTP id u20mr1408897hue.1185779017063; Mon, 30 Jul 2007 00:03:37 -0700 (PDT) Received: by 10.78.192.4 with HTTP; Mon, 30 Jul 2007 00:03:37 -0700 (PDT) Message-ID: <9b415f950707300003t225273cfi9d2761359bf6a3be@mail.gmail.com> Date: Mon, 30 Jul 2007 09:03:37 +0200 From: "Benedikt Grundmann" Sender: benedikt.grundmann@googlemail.com To: skaller Subject: Re: [Caml-list] module interface? Cc: caml-list@inria.fr In-Reply-To: <1185777938.6753.7.camel@rosella.wigram> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1185777938.6753.7.camel@rosella.wigram> X-Google-Sender-Auth: 747b7d751553b58c X-Miltered: at discorde with ID 46AD8D4A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; grundmann:01 mli:01 struct:01 beginner's:01 ocaml:01 bug:01 calvin:98 calvin:98 sourceforge:01 beginners:01 caml-list:01 caml-list:01 bin:01 caml:02 caml:02 module Drules : Map.S with type key = string 2007/7/30, skaller : > Erhm .. how to I declare this in mli file .. > without listing the instantiated Map signature by hand? > > module Drules = Map.Make(struct > type t = string > let compare = compare > end) > > > -- > John Skaller > Felix, successor to C++: http://felix.sf.net > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Calvin: I try to make everyone's day a little more surreal. (From Calvin & Hobbes)