caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean-Baptiste Rouquier <jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.fr>
To: caml-list@pauillac.inria.fr
Subject: [Caml-list] Re : [path directives]
Date: Mon, 23 Aug 2004 22:36:55 +0200 (CEST)	[thread overview]
Message-ID: <1093293415.412a556748ac7@mouette.ens-lyon.fr> (raw)
In-Reply-To: <16682.21287.26129.98212@soggy.deldotd.com>

It bites me quite often. Add a
#directory "/home/login/src/ocaml/pll";;
at the beginning of your session, to let ocaml find the file const.cmi.

Jean-Baptiste Rouquier.

>~/src/ocaml/math $ ocaml
>        Objective Caml version 3.08.0
>
># #load "const.cmo";;
># Const.pi
>  ;;
>- : float = 3.14159265358979312
>So then I change into another directory and load the EXACT SAME file.
>
>
>~/src/ocaml/math $ cd ../pll
>~/src/ocaml/pll $ ocaml
>        Objective Caml version 3.08.0
>
># #load "../math/const.cmo";;
># Const.pi;;
>Unbound value Const.pi

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-08-23 20:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-23 20:27 briand
2004-08-23 20:36 ` Jean-Baptiste Rouquier [this message]
2004-08-24  1:41   ` [Caml-list] Re : [path directives] briand
2004-08-24  1:54     ` Jacques GARRIGUE
2004-08-25 18:54       ` briand
2004-08-24  9:09 ` [Caml-list] Damien Doligez

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=1093293415.412a556748ac7@mouette.ens-lyon.fr \
    --to=jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.fr \
    --cc=caml-list@pauillac.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).