[
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: | sebastien FURIC <sebastien.furic@t...> |
| Subject: | Re: [Caml-list] Complex Numbers |
David Gray a écrit :
>
> Does anyone have trouble with 3.06 version for windows using the following:
>
> #open Complex;;
> #let y = {re = -1.; im = 0.};;
> #let ans = sqrt y;;
> Reference to undefined global `Complex'
>
> the above seems to work under Red Hat.
>
> Dave
Hi,
I've already submitted a bug report for that (id = 1349).
It will be fixed in the next version.
Recompiling the Complex module with the bytecode compiler may help:
ocamlc -c complex.mli complex.ml
ocaml
Objective Caml version 3.06
# #load "complex.cmo";;
# open Complex;;
# sqrt;;
- : Complex.t -> Complex.t = <fun>
#
Cheers,
Sébastien.
-------------------
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