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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id ECBA981792 for ; Fri, 21 Jun 2013 17:47:49 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of wojciech.meyer@gmail.com) identity=pra; client-ip=209.85.214.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="wojciech.meyer@gmail.com"; x-sender="wojciech.meyer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of wojciech.meyer@gmail.com designates 209.85.214.174 as permitted sender) identity=mailfrom; client-ip=209.85.214.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="wojciech.meyer@gmail.com"; x-sender="wojciech.meyer@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ob0-f174.google.com) identity=helo; client-ip=209.85.214.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="wojciech.meyer@gmail.com"; x-sender="postmaster@mail-ob0-f174.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEDANF0xFHRVdauk2dsb2JhbABbgzpJrQuJZ4g/AwF7CBYOAQEBAQcLCwkUBCSCIwEBBAFAARsSCwEDAQsGBQQBBhohIgERAQUBChIGEwgKh2kBAwkGDJ5/jE2Cf4QzChknAwpYh3QBBQyOZlMEB4NhA5dDgSmONhYphDY7 X-IPAS-Result: AnEDANF0xFHRVdauk2dsb2JhbABbgzpJrQuJZ4g/AwF7CBYOAQEBAQcLCwkUBCSCIwEBBAFAARsSCwEDAQsGBQQBBhohIgERAQUBChIGEwgKh2kBAwkGDJ5/jE2Cf4QzChknAwpYh3QBBQyOZlMEB4NhA5dDgSmONhYphDY7 X-IronPort-AV: E=Sophos;i="4.87,913,1363129200"; d="scan'208";a="18570911" Received: from mail-ob0-f174.google.com ([209.85.214.174]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 21 Jun 2013 17:47:49 +0200 Received: by mail-ob0-f174.google.com with SMTP id wd20so8662323obb.5 for ; Fri, 21 Jun 2013 08:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=k0dLih3WTS/JwdDvFd6iyRZbGGowSqtYkZ89mycRtKI=; b=iaelbrYxPK6HyiUYxi4ALPZW5yQHPf95+aW1DpGGhMi6EPgUGg95Z7aKKHpKp/cq0T t3K12FEJmqlsA2aZ6n9+UcmeLflZUuz9UAexQM+XZcUFfqVIAqUsQQ3jPl4GhhcAhTtk dK5Zj8Go7B4aU7mCJZAFV2Kst3QdpefznoyiqeRof22ZuglaDIzdDVqRjjU5PLUWeSAU 39JosFFIBcsTRDuSciBx9RdZIpNDqkhv0nVi3XMFed6Ta3MlmsqRsJqKC0i/K5V/pX0t u43zNMuAzXGStlFfJYiWJAm2Ntw61M70I/pnOEVld84yPhmOJKUCr7hkNchSYjGp0Z+w /1+Q== MIME-Version: 1.0 X-Received: by 10.60.60.196 with SMTP id j4mr6591884oer.37.1371829667676; Fri, 21 Jun 2013 08:47:47 -0700 (PDT) Received: by 10.182.130.227 with HTTP; Fri, 21 Jun 2013 08:47:47 -0700 (PDT) In-Reply-To: References: Date: Fri, 21 Jun 2013 16:47:47 +0100 Message-ID: From: Wojciech Meyer To: Bikal Gurung Cc: Caml List Content-Type: multipart/alternative; boundary=089e01538b7c08ce2504dfabfc30 Subject: Re: [Caml-list] ocaml toplevel reloading module --089e01538b7c08ce2504dfabfc30 Content-Type: text/plain; charset=ISO-8859-1 Hi, Please check if your interface file was recompiled, and the path to the cmi file is correct. On Wed, Jun 19, 2013 at 10:22 PM, Bikal Gurung wrote: > 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 > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > --089e01538b7c08ce2504dfabfc30 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

Please check if your interface file= was recompiled, and the path to the cmi file is correct.


On Wed, Jun 19, 201= 3 at 10:22 PM, Bikal Gurung <bikal.gurung@lemaetech.co.uk&g= t; wrote:
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.c= mo" in
ocaml toplevel, I get an "The files _build/A.cmo and _build/A.cmo disa= gree
over interface A. message. Is there a way of reloading "A.cmo" wi= thout
restarting the ocaml toplevel?

Bikal

--
Caml-list mailing list. =A0Subscription management and archives:
ht= tps://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--089e01538b7c08ce2504dfabfc30--