On 24 Apr 2008, at 16:49, David Teller wrote:
* what kind of syntactic sugar is absolutely missing from the language ?

I'd like a keyword "matches", so I can write

map (matches (0, _, _)) l

rather than

map (function (0, _, _) -> true | _ -> false) l

Had anyone done that or similar in camlp4?

--
John Whitington
Coherent Graphics Ltd
http://www.coherentpdf.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

Reply via email to