caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Mike Lin <mikelin@MIT.EDU>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Marshal and exceptions
Date: Fri, 26 Nov 2010 13:25:53 -0500	[thread overview]
Message-ID: <AANLkTi=hhFvwXEhmdfuY07OHH9g+qJ811Zrc-aeEX5oe@mail.gmail.com> (raw)
In-Reply-To: <9A8556989A396A408C72088C69EDE563A3E8F8CE@KAIP-EXMSG01.lmsintl.com>

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

http://caml.inria.fr/mantis/view.php?id=1961

On Fri, Nov 26, 2010 at 11:22 AM, Christoph Bauer <
christoph.bauer@lmsintl.com> wrote:

>  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
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>

[-- Attachment #2: Type: text/html, Size: 1915 bytes --]

  reply	other threads:[~2010-11-26 18:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 16:22 Christoph Bauer
2010-11-26 18:25 ` Mike Lin [this message]
2010-11-26 21:58   ` [Caml-list] " Christophe Raffalli

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='AANLkTi=hhFvwXEhmdfuY07OHH9g+qJ811Zrc-aeEX5oe@mail.gmail.com' \
    --to=mikelin@mit.edu \
    --cc=caml-list@inria.fr \
    /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).