Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] camlp4: LIST1 construct on record patterns
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] camlp4: LIST1 construct on record patterns
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