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] Lazy vs closure
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-19 (07:33)
From: Vladimir N. Silyaev <vsilyaev@m...>
Subject: Re: [Caml-list] Lazy vs closure
On Wed, May 19, 2004 at 12:04:20AM -0700, David Brown wrote:
> > Also both compilers tends to generate rather strange error.
> > =-=-=-=-=-=
> > The files lazy.cmi and lazy.cmi make inconsistent assumptions
> > over interface Lazy
> > =-=-=-=-=-=
> > This error fixable by removing lazy.cmi from a disk.
> Your module name is the same as the Lazy module that you're trying to
> use.  Rename your program to something else and see if that gets rid of
> the problem.
Good catch!! It get rid of initial problem, but another issue came up:
> ocamlopt.opt -v
The Objective Caml native-code compiler, version 3.07+2
Standard library directory: /usr/local/lib/ocaml
Files lazy_test.cmx and /usr/local/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Lazy

Same error on MinGW (binary installation) and on FreeBSD (compiled from
the source code).


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