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/ _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs