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.5 required=5.0 tests=AWL,HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 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 E1012BC69 for ; Thu, 4 Oct 2007 20:42:11 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAANbQBEdC+VyskGdsb2JhbACCPDWLRwEBAgcEBCIH X-IronPort-AV: E=Sophos;i="4.21,231,1188770400"; d="scan'208";a="17303959" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 04 Oct 2007 20:42:12 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l94IgADI017760 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 4 Oct 2007 20:42:11 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAANbQBEdC+VyskGdsb2JhbACCPDWLRwEBAgcEBCIH X-IronPort-AV: E=Sophos;i="4.21,231,1188770400"; d="scan'208";a="17303956" Received: from ug-out-1314.google.com ([66.249.92.172]) by mail4-smtp-sop.national.inria.fr with ESMTP; 04 Oct 2007 20:42:10 +0200 Received: by ug-out-1314.google.com with SMTP id m3so365061ugc for ; Thu, 04 Oct 2007 11:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=bZ3+jBTrrK9qQIjZEET1oiPVT9+R5dYPXsQAsxYn6MY=; b=BPhp4Ligx3q9dLb1DkcQQOQyLWbFkXJOILWSRUwqdYrAtsvYTSvdh1Ri5skJ2EFC+VhuXn44O0zRby6dMNV+0EgKHAi2laYNUPV2Q8PKdmm8M6kuv8CdffrCJs56ckS2E3aNYXbCrHyc86XdREmgZqD9vGy6/WAdqCF4D7dIj5w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=I9g5NscSqDMesAbWKyN1fJMAkWy6BfEqmby7RN1QnAk/umRWLL36jAJeUFSY94jA6laS8DFjEfz4ihVmtHh2DjV3rWMnq0Bcg+pXIb9Z0Xk5+In0LiIXaEnpGFAwX+AFazDrNobGidaF7Liv7x6wPizijssIURxub8JeRbtmWU0= Received: by 10.67.22.2 with SMTP id z2mr2348852ugi.1191523329438; Thu, 04 Oct 2007 11:42:09 -0700 (PDT) Received: by 10.66.249.6 with HTTP; Thu, 4 Oct 2007 11:42:09 -0700 (PDT) Message-ID: Date: Thu, 4 Oct 2007 14:42:09 -0400 From: "Ashish Agarwal" To: OCaml Subject: Re: [Caml-list] Importing module signatures ? In-Reply-To: <6B825E73-5646-479B-85AA-8F6F5C496A7C@yahoo.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22649_24741699.1191523329438" References: <1191500391.6118.23.camel@Blefuscu> <875c7e070710040709x3cbae411p9cc40e932571470d@mail.gmail.com> <6B825E73-5646-479B-85AA-8F6F5C496A7C@yahoo.fr> X-Miltered: at concorde with ID 47053402.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; struct:01 bunzli:01 o'caml:01 bug:01 beginner's:01 ocaml:01 bug:01 struct:01 bunzli:01 o'caml:01 beginner's:01 ocaml:01 1975:98 beginners:01 beginners:01 ------=_Part_22649_24741699.1191523329438 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline (* Sorry if this is posted twice. Last one did not seem to go through. *) This would be very useful. Also is there a good naming convention for extending standard modules? I've been doing: ----MyString.ml----- module String =3D struct include String (* ... my extensions *) end This way I can do "open MyString" and easily switch between my extended module versus the standard library. Is this good style? On 10/4/07, Vincent Aravantinos wrote: > > Le 4 oct. 07 =E0 16:16, Daniel B=FCnzli a =E9crit : > > Le 4 oct. 07 =E0 16:09, Chris King a =E9crit : > > > >> I'd love to see make it into the official tree, but I haven't > >> heard from the O'Caml dev team one way or the other. > > > > If you want to raise the chances for this to happen I suggest you > > file a feature request in the bug tracking system. Or if one > > already exists, monitor the issue to give them a hint the feature > > is important to more than a single individual. > > > > I'd love it to (that makes at least two individuals...). > > _______________________________________________ > 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 > ------=_Part_22649_24741699.1191523329438 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline (* Sorry if this is posted twice. Last one did not seem to go through. *)
This would be very useful. Also is there a good naming convention for=
extending standard modules? I've been doing:

----MyString= .ml-----
module String =3D struct
  include String
  (* ..= . my extensions *)
end

This way I can do "open MyString&= quot; and easily switch between my
extended module versus the standard= library. Is this good style?



On 10/4/07, Vincent Aravantinos <vincent.aravantinos@yahoo.fr> wrote: Le 4 oct. 07 =E0 16:16, Daniel B=FCnzli a =E9crit :
> Le 4 oct. 07 = =E0 16:09, Chris King a =E9crit :
>
>> I'd love to see m= ake it into the official tree, but I haven't
>> heard from the= O'Caml dev team one way or the other.
>
> If you want to raise the chances for this to happen I sugg= est you
> file a feature request in the bug tracking system. Or if on= e
> already exists, monitor the issue to give them a hint the feature
> is important to more than a single individual.
>

I= 9;d love it to (that makes at least two individuals...).

___________= ____________________________________
Caml-list mailing list. Subscriptio= n management:
ht= tp://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's li= st:=20 http://groups.yah= oo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

------=_Part_22649_24741699.1191523329438--