Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Francois Colonna <colonna@ccr.jussieu.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] no error with ocamlc, a syntax error with ocaml
Date: Fri, 29 Sep 2006 11:11:08 +0200	[thread overview]
Message-ID: <451CE32C.7020800@ccr.jussieu.fr> (raw)
In-Reply-To: <20060929104028.197936db@localhost>

Virgile Prevosto wrote:
> 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. 
>
>   


      reply	other threads:[~2006-09-29  9:10 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
2006-09-29  9:11   ` Francois Colonna [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=451CE32C.7020800@ccr.jussieu.fr \
    --to=colonna@ccr.jussieu.fr \
    --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