From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 68AC481792 for ; Wed, 19 Jun 2013 23:22:38 +0200 (CEST) X-IronPort-AV: E=Sophos;i="4.87,899,1363129200"; d="scan'208";a="22556373" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 19 Jun 2013 23:22:30 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id EC22581793; Wed, 19 Jun 2013 23:22:30 +0200 (CEST) To: caml-list@inria.fr Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7BIT From: "Bikal Gurung" X-Mailer: Sympa 6.1.7 Date: Wed, 19 Jun 2013 23:22:30 +0200 (CEST) Subject: [Caml-list] ocaml toplevel reloading module Hi All, I load a module using #load "A.cmo";; in toplevel. I subsequently make change to A.ml and bytecode compile it. When I load it again using #load "A.cmo" in ocaml toplevel, I get an "The files _build/A.cmo and _build/A.cmo disagree over interface A. message. Is there a way of reloading "A.cmo" without restarting the ocaml toplevel? Bikal