Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Anil Madhavapeddy <anil@recoil.org>
To: Norman Ramsey <nr@eecs.harvard.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] trouble with Marshal.to_string
Date: Sat, 8 Oct 2005 17:09:31 +0100	[thread overview]
Message-ID: <1456CFD1-55B7-4A3B-B121-6B27529F94BE@recoil.org> (raw)
In-Reply-To: <20051008153429.A2314289004@toller>

On 8 Oct 2005, at 16:34, Norman Ramsey wrote:


> Dear Camllists,
>
> I'm having trouble using Marshal.to_string.  My call looks like this:
>
>   Marshal.to_string f [Marshal.Closures]
>
> but unfortunately Marshal.to_string raises an exception:
>
>   Fatal error: exception Invalid_argument("output_value: abstract  
> value (Custom)")
>

Are you using any C bindings which create custom blocks?  That error  
occurs if your custom block does not define a serialization function  
(documented here: http://caml.inria.fr/pub/docs/manual-ocaml/ 
manual032.html#s:custom).

Anil


  reply	other threads:[~2005-10-08 16:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-08 15:34 Norman Ramsey
2005-10-08 16:09 ` Anil Madhavapeddy [this message]
2005-10-08 16:35   ` [Caml-list] " Norman Ramsey
2005-10-08 16:57     ` Anil Madhavapeddy
2005-10-08 18:47       ` Norman Ramsey
2005-10-08 18:59         ` Thomas Fischbacher

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=1456CFD1-55B7-4A3B-B121-6B27529F94BE@recoil.org \
    --to=anil@recoil.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=nr@eecs.harvard.edu \
    /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