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 MAA10855; Wed, 29 Jan 2003 12:04:06 +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 MAA10657 for ; Wed, 29 Jan 2003 12:04:06 +0100 (MET) Received: from ns.mccme.ru ([195.133.68.22]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h0TB43r19744 for ; Wed, 29 Jan 2003 12:04:03 +0100 (MET) Received: from mccme.ru (potanin@mccme.ru [195.178.198.7]) by ns.mccme.ru (8.8.5/8.8.5) with SMTP id NAA11444 for ; Wed, 29 Jan 2003 13:47:39 +0300 Date: Wed, 29 Jan 2003 14:20:40 +0300 (MSK) From: Mike Potanin To: caml-list@inria.fr Subject: [Caml-list] AST and "when" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Can CamlP4 make "when" in pattern? # <:patt< a when a<0 >>;; ^^^^ While expanding quotation "patt": Parse error: end of input expected after [pattern] (in [pattern]) # <:expr< let p x = match x with a when a<0 -> 1 | b -> b in p z >>;; ^^^^ While expanding quotation "expr": Parse error: '->' expected after [ipatt] (in [expression]) ------------------- 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