[
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: | 2010-11-26 (16:22) |
From: | Christoph Bauer <christoph.bauer@l...> |
Subject: | Marshal and exceptions |
Hi, why is the result 2 of the following expression? match Marshal.from_string (Marshal.to_string (Failure "test") []) 0 with Failure _ -> 1 | _ -> 2 ;; Ocaml 3.11.2. TIA, Christoph Bauer