From: Nicolas barnier <barnier@recherche.enac.fr>
To: Don Syme <dsyme@microsoft.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Multi-matches & "when", also binding values in "when" clauses
Date: Tue, 03 Apr 2001 15:00:27 +0200 [thread overview]
Message-ID: <3AC9C96B.55471D3C@recherche.enac.fr> (raw)
In-Reply-To: <0C682B70CE37BC4EADED9D375809768A48FD8B@red-msg-04.redmond.corp.microsoft.com>
Don Syme wrote:
>
> 2. - Multiple binding in patterns
>
> It would sometimes be nice to bind variables twice in different
> patterns, as in
>
> match x with
> | C y | D y -> ...
> | E | F -> ...
>
> Are there any plans for this?
Allowed in 3.01.
-- Nicolas
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-04-03 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-03 12:54 Don Syme
2001-04-03 13:00 ` Nicolas barnier [this message]
2001-04-03 15:06 ` Luc Maranget
2001-04-03 17:57 ` Pierre Weis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AC9C96B.55471D3C@recherche.enac.fr \
--to=barnier@recherche.enac.fr \
--cc=caml-list@inria.fr \
--cc=dsyme@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).