Version française
Home     About     Download     Resources     Contact us    
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 <frisch@clipper.ens.fr> 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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners