caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Pattern matching on refs
@ 2013-10-10 19:17 Yotam Barnoy
  2013-10-10 19:34 ` Ashish Agarwal
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yotam Barnoy @ 2013-10-10 19:17 UTC (permalink / raw)
  To: Ocaml Mailing List

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

I recently found out how ugly it is to pattern-match on a ref, using
{contents=...}. This should be extremely easy to fix in the parser. Can it
please be put into the next version of ocaml?
ie.

match x with
| ref y -> ...

-Yotam

[-- Attachment #2: Type: text/html, Size: 324 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-11  6:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10 19:17 [Caml-list] Pattern matching on refs Yotam Barnoy
2013-10-10 19:34 ` Ashish Agarwal
2013-10-10 19:37   ` Yotam Barnoy
2013-10-10 19:42 ` David Allsopp
2013-10-10 19:46   ` Yotam Barnoy
2013-10-11  4:49     ` Arnaud Spiwack
2013-10-11  6:10       ` Francois Berenger
2013-10-10 20:23 ` Jacques Le Normand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).