Browse thread
Bugs with pattern-matching and exceptions
-
Louis Gesbert
- Jacques Garrigue
- Louis Gesbert
- Alain Frisch
[
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: | 2006-03-01 (00:05) |
From: | Jacques Garrigue <garrigue@m...> |
Subject: | Re: [Caml-list] Bugs with pattern-matching and exceptions |
From: Louis Gesbert <louis.gesbert@laposte.net> > # exception E' = E;; > # match E with E' -> true | _ -> false;; > - : bool = false > > This is with Caml 3.08.3, but it doesn't seem to have been corrected in > earlier versions. Any ideas ? If the structure exception E = F is > considered useful, a stronger semantics should be attached to it, but is it > really ? In general bugs are not corrected in _earlier_ versions :-) This is fixed in 3.09. # exception E' = E;; # match E with E' -> true | _ -> false;; - : bool = true Jacques Garrigue