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 GAA05037; Mon, 14 Jan 2002 06:10:10 +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 GAA16893 for ; Mon, 14 Jan 2002 06:10:09 +0100 (MET) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0E5A9f16259 for ; Mon, 14 Jan 2002 06:10:09 +0100 (MET) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id GAA05836 for caml-list@inria.fr; Mon, 14 Jan 2002 06:10:08 +0100 Date: Mon, 14 Jan 2002 06:10:08 +0100 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] camlp4: LIST1 construct on record patterns Message-ID: <20020114061008.A5801@verdot.inria.fr> References: <005501c19ca1$a4b249e0$0b01a8c0@mit.edu> <005601c19ca6$265b33e0$0b01a8c0@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <005601c19ca6$265b33e0$0b01a8c0@mit.edu>; from jehenrik@yahoo.com on Sun, Jan 13, 2002 at 09:49:56PM -0500 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Sun, Jan 13, 2002 at 09:49:56PM -0500, Jeff Henrikson wrote: > [ [ $cons$; "{"; memb = LIST1 lbl_expr_list SEP ";" ; "}" -> > (let memb0= List.nth memb 0 in > <:expr<{$list:memb0$}>>) ] ] > > I don't understand it though. Is there some explanation? The entry "lbl_expr_list", as its name indicates, already parses a list. Don't use LIST1. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- 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