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
Toplevel - load cmo from given location
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-09 (15:08)
From: Dawid Toton <d0@w...>
Subject: Re: [Caml-list] Toplevel - load cmo from given location

>> The problem is that it gives "Unbound module Enum" while no error about loading the cmo&cmi is shown.
> The #directory instruction is needed to find the .cmi.

I see, so there are 2 problems:
* why the failure to load cmi is silent in this case?
* why the toplevel fails to check for cmi where the cmo is located? This 
looks as incorrect behaviour (the reference manual doesn't mention any 
exceptional rules for the #load directive).