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 LAA03488; Tue, 20 Jul 2004 11:21:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA03475 for ; Tue, 20 Jul 2004 11:21:16 +0200 (MET DST) Received: from annexia.force9.co.uk (annexia.force9.co.uk [212.56.101.183]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i6K9LEEV023994 for ; Tue, 20 Jul 2004 11:21:15 +0200 Received: from rich by annexia.force9.co.uk with local (Exim 3.36 #1 (Debian)) id 1BmqoE-0002u9-00 for ; Tue, 20 Jul 2004 10:21:14 +0100 Date: Tue, 20 Jul 2004 10:21:14 +0100 To: caml-list@inria.fr Subject: [Caml-list] Slight parsing difference with/without -pp "camlp4o" Message-ID: <20040720092114.GA11136@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1+cvs20040105i From: Richard Jones X-Miltered: at nez-perce with ID 40FCE40B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; -pp:01 camlp:01 3.07:01 ocamlc:01 ocamlc:01 -pp:01 camlp:01 team's:01 ltd:98 ocaml:01 syntax:02 let:04 prototype:04 investment:94 slight:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk [This is with OCaml 3.07 - not checked with 3.08] --------------------------------------------------------- pptest.ml -- let f = fun (year, week) as yw -> 1 ---------------------------------------------------------------------- $ ocamlc -c pptest.ml File "pptest.ml", line 1, characters 25-27: Syntax error But ... $ ocamlc -pp "camlp4o" -c pptest.ml $ Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment 'There is a joke about American engineers and French engineers. The American team brings a prototype to the French team. The French team's response is: "Well, it works fine in practice; but how will it hold up in theory?"' ------------------- 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