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] Questions about #use
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Questions about #use

On Fri, Feb 08, 2002 at 01:00:15PM -0800, Harrison, John R wrote:

> The documentation for the "#use" directive says "phrases are processed just
> as if they were typed on standard input". However according to my
> experience with OCaml, this isn't really accurate. Some level of syntax
> checking is first done on the whole file before any phrases are processed.

If you loaded the camlp4 stuff, it is possible, indeed. There is a
serious bug in camlp4 in #use directive, a problem of order when the
file contains other directives. It has been fixed for the next version.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: