Browse thread
[Caml-list] Troubles with marshaled/unmarshaled exception
[
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: | 2003-12-04 (18:12) |
From: | Alex Baretta <alex@b...> |
Subject: | Re: [Caml-list] Troubles with marshaled/unmarshaled exception |
Artem Prisyznuk wrote: > Hello, > > I found strange behavior of pattern matching of > marshaled/unmarshaled exception. > > Next code describe problem: > > let e = Failure "test";; > let e' = Marshal.from_string (Marshal.to_string e []) 0;; > let print_fun exc = It seems to work alright on 3.07+2. Here's my session: Objective Caml version 3.07+2 # let e = Failure "test";; val e : exn = Failure "test" # let e' : exn = Marshal.from_string (Marshal.to_string e []) 0;; val e' : exn = Failure "test" # e = e';; - : bool = true ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners