Browse thread
no error with ocamlc, a syntax error with ocaml
-
Francois Colonna
- micha
- Jonathan Roewen
-
Virgile Prevosto
- Francois Colonna
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-09-29 (09:10) |
From: | Francois Colonna <colonna@c...> |
Subject: | Re: [Caml-list] no error with ocamlc, a syntax error with ocaml |
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. > >