From: Ingo Bormuth <ibormuth@efil.de>
To: caml-list@yquem.inria.fr
Cc: ingo@bormuth.org
Subject: Re: [Caml-list] Marshal.to_string and mutable values
Date: Thu, 15 Sep 2005 17:13:09 +0200 [thread overview]
Message-ID: <20050915151309.GA14311@kruemel> (raw)
In-Reply-To: <005201c5ba04$1797ff80$0100a8c0@mshome.net>
On 2005-09-15 16:45, Frédéric Gava wrote:
>
> Anybody have an idea ? I suppose it is not a bug but I do not know why it is
> a pb.
>
As far as I unserstand, those things are working in compiled programms only,
but not in the toplevel.
The manual says:
/---
| If flags contains Marshal.Closures, functional values will be marshaled as a
| position in the code of the program. In this case, the output of marshaling
| can only be read back in processes that run exactly the same program, with
| exactly the same compiled code. (This is checked at un-marshaling time, using
| an MD5 digest of the code transmitted along with the code position.)
\--
This cannot be done in toplevel.
--
+--------------------------------------------------------+
| Ingo Bormuth, voicebox & telefax: +49-12125-10226517 |
| GnuPG key 86326EC9 at http://ibormuth.efil.de/contact |
+--------------------------------------------------------+
next prev parent reply other threads:[~2005-09-15 15:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-15 14:45 Frédéric Gava
2005-09-15 15:13 ` Ingo Bormuth [this message]
2005-09-15 15:49 ` [Caml-list] " Frédéric Gava
2005-09-15 15:54 ` Jon Harrop
2005-09-15 16:55 ` Mark Shinwell
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=20050915151309.GA14311@kruemel \
--to=ibormuth@efil.de \
--cc=caml-list@yquem.inria.fr \
--cc=ingo@bormuth.org \
/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