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
Re: to have labels or not
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-03-24 (15:46)
From: Max Skaller <maxs@i...>
Subject: Re: to have labels or not
Markus Mottl wrote:

> I do not think that this is the way to go: this will just shift the problem
> of "two styles" from the compiler to the library.

> > IF -classic or -label is specified on the compiler
> > command line, one of these open statements is inserted
> > into each module 'by magic', this is a compatibility hack
> > for legacy code.
> But where is the difference then if you still can (have to) specify a flag
> on the command line to switch between styles? 

	You don't have to. This is a compability hack.
There's only one language.

> The aim should be to get rid
> of such a flag and still satisfy all (at least: most of the) users

	The hack remains until everyone updates their code
to select the desired libraries (which now have new names).
This can be done by adding one line to every ml file.

John (Max) Skaller at OTT [Open Telecommications Ltd]      -- at work  -- at home