Version française
Home     About     Download     Resources     Contact us    
Browse thread
Importing module signatures ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ashish Agarwal <agarwal1975@g...>
Subject: Re: [Caml-list] Importing module signatures ?
(* 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 = 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 <vincent.aravantinos@yahoo.fr> wrote:
>
> Le 4 oct. 07 à 16:16, Daniel Bünzli a écrit :
> > Le 4 oct. 07 à 16:09, Chris King a écrit :
> >
> >> 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
>