Version française
Home     About     Download     Resources     Contact us    
Browse thread
disagreement over interface
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hal Daume III <hdaume@I...>
Subject: disagreement over interface
Say I have foo.ml and I 

  ocamlc -c foo.ml

to produce foo.cmo.

Then in the ocaml toplevel, I do:

  #load "foo.cmo";;

to load the bytecode.  Now, I make changes to foo.ml and recompile it:

  ocamlc -c foo.ml

If I then go to reload it, I get:

  #load "foo.cmo";;
  The files foo.cmo
  and foo.cmo
  disagree over interface Foo

The only way I have found to remedy this is to quit my current top level, 
rerun and then load foo.cmo from there, but this is a major pain.  I 
assume I'm just missing something stupid.  Can someone tell me what to do?

Thanks!

 - Hal

-- 
 Hal Daume III                                   | hdaume@isi.edu
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume