caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hal Daume III <hdaume@ISI.EDU>
To: Caml Mailing List <caml-list@yquem.inria.fr>
Subject: disagreement over interface
Date: Tue, 22 Feb 2005 09:20:31 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0502220918330.350-100000@albini.isi.edu> (raw)

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


             reply	other threads:[~2005-02-22 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-22 17:20 Hal Daume III [this message]
2005-02-22 19:11 ` [Caml-list] " Martin Jambon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0502220918330.350-100000@albini.isi.edu \
    --to=hdaume@isi.edu \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).