caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Virgile Prevosto <virgile.prevosto@m4x.org>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] no error with ocamlc, a syntax error with ocaml
Date: Fri, 29 Sep 2006 10:40:28 +0200	[thread overview]
Message-ID: <20060929104028.197936db@localhost> (raw)
In-Reply-To: <451CD121.3070502@ccr.jussieu.fr>

Hello,

Le ven 29 sep 2006 09:54:09 CEST,
Francois Colonna <colonna@ccr.jussieu.fr> a écrit :

> ocaml < tuvuw_from_data_error.ml

> print_string (" u  d1 d2 = ") ;
> print_int (u_from_data ( d1, d2 ) ) ;
> print_newline () ;
>  

The issue is here: in the interpreter, it is mandatory to close a
toplevel phrase with ';;', since ocaml rely on it to know when it has
to evaluate something. 

-- 
E tutto per oggi, a la prossima volta.
Virgile


  parent reply	other threads:[~2006-09-29  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29  7:54 Francois Colonna
2006-09-29  8:25 ` [Caml-list] " micha
2006-09-29  8:27 ` Jonathan Roewen
2006-09-29  8:40 ` Virgile Prevosto [this message]
2006-09-29  9:11   ` Francois Colonna

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=20060929104028.197936db@localhost \
    --to=virgile.prevosto@m4x.org \
    --cc=caml-list@yquem.inria.fr \
    /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).