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: Chris King <colanderman@g...>
Subject: Re: [Caml-list] Importing module signatures ?
On 10/4/07, Ashish Agarwal <agarwal1975@gmail.com> wrote:
> ----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?

This is what's used in ExtLib, and it seems to work well.

- Chris