<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2009/01/6e6d3c0326d97e4ac71e057ef3170786"
  from="Dawid Toton &lt;d0@w...&gt;"
  author="Dawid Toton"
  date="2009-01-09T15:08:29"
  subject="Re: [Caml-list] Toplevel - load cmo from given location"
  prev="2009/01/e089a87758b262aa447bde4a9388582e"
  next="2009/01/7dd8b17723f54e4e1f984f635aa1d367"
  prev-in-thread="2009/01/e089a87758b262aa447bde4a9388582e"
  next-in-thread="2009/01/3884db1d1064e8341b9e0ba01c22eb72"
  prev-thread="2009/01/5c289b2a10ec7c701b7b196284e19c78"
  next-thread="2009/01/8098af0c31ee2dfc908c6c4b9d081e1e"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Toplevel - load cmo from given location">
<msg 
  url="2009/01/2112b46e78c48d5a1e210bbd83ebb31a"
  from="Dawid Toton &lt;dawid.toton@u...&gt;"
  author="Dawid Toton"
  date="2009-01-09T14:06:49"
  subject="Toplevel - load cmo from given location">
<msg 
  url="2009/01/e089a87758b262aa447bde4a9388582e"
  from="Christophe TROESTLER &lt;Christophe.Troestler+ocaml@u...&gt;"
  author="Christophe TROESTLER"
  date="2009-01-09T14:40:25"
  subject="Re: [Caml-list] Toplevel - load cmo from given location">
<msg 
  url="2009/01/6e6d3c0326d97e4ac71e057ef3170786"
  from="Dawid Toton &lt;d0@w...&gt;"
  author="Dawid Toton"
  date="2009-01-09T15:08:29"
  subject="Re: [Caml-list] Toplevel - load cmo from given location">
<msg 
  url="2009/01/3884db1d1064e8341b9e0ba01c22eb72"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2009-01-09T21:39:28"
  subject="Re: [Caml-list] Toplevel - load cmo from given location">
</msg>
</msg>
</msg>
<msg 
  url="2009/01/f8a33f74e66883b70cf383c45b74875b"
  from="Zheng Li &lt;zheng_li@u...&gt;"
  author="Zheng Li"
  date="2009-01-09T17:33:11"
  subject="Re: Toplevel - load cmo from given location">
</msg>
</msg>
</thread>

<contents>

&gt;&gt; The problem is that it gives "Unbound module Enum" while no error about loading the cmo&amp;cmi is shown.
&gt; 
&gt; 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).

Dawid

</contents>

</message>

