From: briand@aracnet.com
To: Claudio Trento <trento@di.unipi.it>
Cc: caml-list@inria.fr
Subject: [Caml-list] Porblem with Num module
Date: Thu, 13 May 2004 08:39:43 -0700 [thread overview]
Message-ID: <16547.38591.560988.893447@soggy.deldotd.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0405131615360.32446-100000@nutella.di.unipi.it>
It's in the manual (just for future reference).
If you are using a system which supports dynamic linking you can just do
#load "num.cma";;
if you are using windows which does not support dynamic linking you will
have to compile.
ocamlc other_options num.cma other_files
Or make your own top-level which includes num:
ocamlmktop -o mytop num.cma
./mytop
Brian
P.S. In the manual it actually lists the filename as "nums" not "num".
Is this a documentation bug ?
>>>>> "Claudio" == Claudio Trento <trento@di.unipi.it> writes:
Claudio> I`ve included the line "open Num" at the begin of my
Claudio> test.ml file to use the Num module. Maybe it's not enough
Claudio> because I've this type of error in cmpilation:
Claudio> "Error while linking test.cmo: Reference to undefined
Claudio> global `Num'"
Claudio> Probably I forget something, someone could say me where I
Claudio> mistake?
Claudio> Thanks, Claudio
Claudio> ------------------- To unsubscribe, mail
Claudio> caml-list-request@inria.fr Archives: http://caml.inria.fr
Claudio> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ:
Claudio> http://caml.inria.fr/FAQ/ Beginner's list:
Claudio> 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-05-13 15:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 14:30 Claudio Trento
2004-05-13 15:14 ` Richard Jones
2004-05-13 15:39 ` briand [this message]
2004-05-15 6:00 ` William Lovas
2004-05-15 6:20 ` Shawn Wagner
2004-05-15 10:02 ` Richard Jones
2004-05-14 8:26 ` Virgile Prevosto
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=16547.38591.560988.893447@soggy.deldotd.com \
--to=briand@aracnet.com \
--cc=caml-list@inria.fr \
--cc=trento@di.unipi.it \
/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