Browse thread
-
briand@a...
- Jean-Baptiste Rouquier
- Damien Doligez
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jean-Baptiste Rouquier <jrouquiethearchiveshouldhaveafewantispamtricks@e...> |
| Subject: | [Caml-list] Re : [path directives] |
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