From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA13681; Wed, 23 Oct 2002 09:04:54 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA14725 for ; Wed, 23 Oct 2002 09:04:53 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from athlon.baretta.com ([62.211.4.120]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g9N74qD28624 for ; Wed, 23 Oct 2002 09:04:52 +0200 (MET DST) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id B44DD27250 for ; Wed, 23 Oct 2002 09:15:48 +0200 (CEST) Message-ID: <3DB64CA4.7050604@baretta.com> Date: Wed, 23 Oct 2002 09:15:48 +0200 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: it, en MIME-Version: 1.0 To: Ocaml Subject: Re: [Caml-list] Error during partial linking References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dmitry Bely wrote: > Alain Frisch writes: > >>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 The -nostd should be implicit with -nopervasives. You do not want to open a module that is not linked (compile time error). So, if you do not want Pervasives, you do not want an "open Std". Alex ------------------- 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