Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compilation problem in OCAML 3.02 and 3.04
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: malc <malc@p...>
Subject: Re: [Caml-list] Compilation problem in OCAML 3.02 and 3.04
On Tue, 26 Feb 2002, Xavier Leroy wrote:

> > I think this is due to the name of the program, 1fact.ml, which should
> > not begin with a number, because when I renamed the file fact1.ml it
> > worked perfectly.
> 
> Correct.  The name of a Caml compilation unit is derived from its
> source file name (e.g. fact1.ml --> Fact), and must be a valid Caml
> identifier.

Typo here fact1.ml --> Fact1, and NOT Fact.

-- 
mailto:malc@pulsesoft.com

-------------------
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