From: briand@aracnet.com
To: Jean-Baptiste Rouquier
<jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.fr>
Cc: caml-list@pauillac.inria.fr
Subject: [Caml-list] Re : [path directives]
Date: Mon, 23 Aug 2004 18:41:46 -0700 [thread overview]
Message-ID: <16682.40154.269687.344133@soggy.deldotd.com> (raw)
In-Reply-To: <1093293415.412a556748ac7@mouette.ens-lyon.fr>
Thank you very much for the solution.
Why doesn't the load fail or give some indication of a problem ?
Why doesn't caml know to look in the same directory which const.cmo
came from ?
I think I'll take a look through the sources and try and understand
why this isn't more user friendly.
Brian
>>>>> "Jean-Baptiste" == Jean-Baptiste Rouquier <jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.fr> writes:
Jean-Baptiste> It bites me quite often. Add a #directory
Jean-Baptiste> "/home/login/src/ocaml/pll";; at the beginning of
Jean-Baptiste> your session, to let ocaml find the file const.cmi.
Jean-Baptiste> 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
Jean-Baptiste> ------------------- To unsubscribe, mail
Jean-Baptiste> caml-list-request@inria.fr Archives:
Jean-Baptiste> http://caml.inria.fr Bug reports:
Jean-Baptiste> http://caml.inria.fr/bin/caml-bugs FAQ:
Jean-Baptiste> http://caml.inria.fr/FAQ/ Beginner's list:
Jean-Baptiste> http://groups.yahoo.com/group/ocaml_beginners
-------------------
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
next prev parent reply other threads:[~2004-08-24 1:41 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 ` [Caml-list] Re : [path directives] Jean-Baptiste Rouquier
2004-08-24 1:41 ` briand [this message]
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=16682.40154.269687.344133@soggy.deldotd.com \
--to=briand@aracnet.com \
--cc=caml-list@pauillac.inria.fr \
--cc=jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.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