Browse thread
[Caml-list] Multi-matches & "when", also binding values in "when" clauses
-
Don Syme
- Nicolas barnier
- Pierre Weis
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2001-04-03 (13:00) |
From: | Nicolas barnier <barnier@r...> |
Subject: | Re: [Caml-list] Multi-matches & "when", also binding values in "when" clauses |
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