Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: additions to standard library?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christian RINDERKNECHT <rinderkn@h...>
Subject: Re: additions to standard library?
On Wed, Mar 08, 2000 at 11:29:30PM +0100, Markus Mottl wrote:
>
> [...] another question [...] has been bothering me from
> time to time when using the module system: 
> [...] I had to "copy" nearly 100 lines as in:
> 
>   module Foo = struct
>     module B = ...
>     type t = B.t
>     ...
>     let iter = B.iter
>     let iteri = B.iteri
>     ...
>   end

..and don't forget the lack of exception re-binding that moreover
requires a lot of "try with": "try B.iter with B.Exc -> raise Exc"...

-- 

Christian

-----------------------------------------------------------------------
Christian Rinderknecht                     Phone +33 (0)1 60 76 44 43
Institut National des Télécommunications   Fax   +33 (0)1 60 76 47 11
Département Logiciels Réseaux (LOR)        WWW
9, Rue Charles Fourier, F-91011 Évry Cedex