Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
trouble with Marshal.to_string
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: nr@e...
Subject: trouble with Marshal.to_string
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)")

Unfortunately I can't find any discussion of this possibility in the manual.
Can anybody on the list explain what the problem is and how I might work
around it?