caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Jonathan Roewen <jonathan.roewen@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Syntax errors with match and interface files
Date: Fri, 22 Jul 2005 15:47:48 +1000	[thread overview]
Message-ID: <1122011268.17369.7.camel@localhost.localdomain> (raw)
In-Reply-To: <ad8cfe7e05072115424fc8d1eb@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

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>


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2005-07-22  5:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 22:42 Jonathan Roewen
2005-07-22  0:26 ` Stephane Glondu
2005-07-22  5:47 ` skaller [this message]

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=1122011268.17369.7.camel@localhost.localdomain \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@yquem.inria.fr \
    --cc=jonathan.roewen@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).