From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA24718; Fri, 1 Feb 2002 20:41:37 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA25071 for ; Fri, 1 Feb 2002 20:41:36 +0100 (MET) Received: from fep41-svc.tin.it (imdns1.tin.it [212.216.176.237] (may be forged)) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g11JfZ501038 for ; Fri, 1 Feb 2002 20:41:35 +0100 (MET) Received: from there ([212.171.41.122]) by fep41-svc.tin.it (InterMail vM.4.01.03.13 201-229-121-113) with SMTP id <20020201194134.TCTL18883.fep41-svc.tin.it@there> for ; Fri, 1 Feb 2002 20:41:34 +0100 Content-Type: text/plain; charset="iso-8859-1" From: stalkern2 To: caml-list@inria.fr Subject: [Caml-list] =?iso-8859-1?q?D=E9veloppement=20d'applications=20avec=20Objective=20?= Caml... [< >] in 3.04? Date: Fri, 1 Feb 2002 20:47:01 -0500 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020201194134.TCTL18883.fep41-svc.tin.it@there> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello to everybody I'm studying the book of Chailloux, Manoury and Pagano and I' m now taking into considerations the streams. Using a plain ocaml prompt with Ocaml 3.04 on a RedHat box (coming from a rpm), I get # let foo = [< >];; ^^ Syntax error I get the same error on a MacOS 9 box, using the standard Ocaml distribution. I have plenty of expressions parenthesized with [< >] in the source distribution, and I learnt that I could optionally use [: :] if I say so to Camlp4. But neither [< >] nor [: :], that gives # let foo = [: :];; ^ Syntax error is accepted by the copies of the interpreter that I'm using, and I feel stuck. Should I make a different toplevel giving special indications and links? Sorry for bothering you. Think that you've (likely) been a beginner also... once upon a time. By the way, I think that ocaml would be more widespread than C if it only had 20% of its documentation and ease of consulting; I'd have never started with it without the book of Chailloux, Manoury and Pagano (that I thank). Thanks Ernesto ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr