English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Syntax errors with match and interface files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-22 (05:48)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Syntax errors with match and interface files
On Fri, 2005-07-22 at 10:42 +1200, Jonathan Roewen wrote:
> Hi,
> I'm getting a curious syntax error:
> in my Key.mli file, I have:
> val kEnter: int;
> val kBksp: int;

Because of the curious semicolons .. which are
infix sequencing operators used in expressions.
val binding in an interface is not an expression..

John Skaller <skaller at users dot sourceforge dot net>