Browse thread
Wishes for an easy install of Ocaml
[
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: | Christophe TROESTLER <Christophe.Troestler@u...> |
| Subject: | Re: [Caml-list] Wishes for an easy install of Ocaml |
On Fri, 24 Dec 2004, Philippe Lelédy <phl@leledy.org> wrote:
>
> I am a French teacher who give to my students their first course in
> Computer Science, which include learning Caml (as the first language).
> I give them strong advice to install an Unix-like OS on their own
> computer, with some success (Linux, MacOS X).
Sounds great!
> '(tuareg-library-path "/usr/lib/ocaml/3.08")
>
> That last line is not release independant.
I am no expert in elisp, but this works:
(with-temp-buffer
(progn
(call-process "ocamlc" nil t nil "-where")
(let ((path (buffer-string)))
;; get rid of the final '\n'
(setq tuareg-library-path (substring path 0 -1))
)))
> (setq tuareg-manual-url
The manual is available in info form (C-h i d m ocaml RETURN).
This is in the ocaml-doc package under Debian.
> Also more lines in .emacs are necessary to make Emacs behave more
> like a non Unix geek would expect.
In my view, this is optional -- we point our students to e.g.
http://www.cua.dk/cua.html but do not provide it ourselves.
> Making a ocaml-goodies-for-newbies package which would include all
> this customizations ?
Yes. Your package could depend on ocaml and tuareg-mode for easy
install.
my 0.2¤,
ChriS