Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml 3.12.0+beta1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Martin Jambon <martin.jambon@e...>
Subject: Re: [Caml-list] OCaml 3.12.0+beta1
Yoann Padioleau wrote:
> On Jun 16, 2010, at 6:07 AM, Damien Doligez wrote:
> 
>> Dear OCaml users,
> 
> [...]
> 
>> - Record patterns of the form { lbl = pat; _ } to mark that not all
>>  labels are listed, purposefully.  (See new warning below.)
> 
> This is cool. Thank you! Does it have to be '_' only ? Can we write also { lbl = pat; _XXX } ?
> It's just that _XXX is easier to grep.

I'm guessing that it would be interpreted as { lbl = pat; _XXX = _XXX }.


Martin

-- 
http://mjambon.com/