English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] The Makefile
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-05 (15:13)
From: Remi Vanicat <remi.vanicat@l...>
Subject: Re: [Caml-list] Test case syntax error
John Carr <jfc@mit.edu> writes:

>>  let _ = <expression> is not a syntactically valid expression. You have
>> to write let _ = <expression1> in <expression2> instead.
> Except at toplevel, where you must use the first form instead of the
> second.

"let _ = <expression>" is not a expression, it is a definition. The
same way "type <name> = <type-decl>" is.

Rémi Vanicat

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners