caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* disagreement over interface
@ 2005-02-22 17:20 Hal Daume III
  2005-02-22 19:11 ` [Caml-list] " Martin Jambon
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Daume III @ 2005-02-22 17:20 UTC (permalink / raw)
  To: Caml Mailing List

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-22 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-22 17:20 disagreement over interface Hal Daume III
2005-02-22 19:11 ` [Caml-list] " Martin Jambon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).