Browse thread
Usability problems with ocamlmktop / toplevels
-
Richard Jones
- Olivier Andrieu
- Gerd Stolpmann
[
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: | Olivier Andrieu <andrieu@i...> |
| Subject: | Re: [Caml-list] Usability problems with ocamlmktop / toplevels |
Hi Richard, Richard Jones [Friday 12 August 2005] : > (3) Some libraries are linked into the toplevel, but apparently can't > be accessed. For instance, Calendar ExtLib must be linked into the > toplevel because our main code relies on them; however no symbols from > either are visible: > > $ ./adwords > Objective Caml version 3.08.2 > > # Date.today ();; > Unbound value Date.today > # open Date;; > Unbound module Date > # ExtString.String.split;; > Unbound value ExtString.String.split That's because the toplevel needs access to the .cmi of the modules _at runtime_. Use the -I argument of the toplevel, or the #directory directive. -- Olivier