Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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>