Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Error during partial linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dmitry Bely <dbely@m...>
Subject: Re: [Caml-list] Error during partial linking
Alain Frisch <> writes:

>> No way! It would only require adding "open Std" to the existing
>> sources. But we can even introduce it transparately (although I think it is
>> really not necessary): open Std by default (like Pervasives) and having a
>> compiler flag "-nostd" (like "-nopervasives") to disable this auto open.
> In which cases would we need -nostd ?  The only harm an "open" statement
> can do is to hide previous definitions, but if it is inserted
> automatically at the beginning, what's the problem ?

I meant programmers should manually add "open Std" to the existing sources
using a text editor. I would prefer no auto open of Std (old C++ habits
:-)), buf of course I can live with it. BTW, if you think "-nostd" is not
necessary, why we have "-nopervasives" option?

- Dmitry Bely

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: