Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Classes and marshaling
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Frederic Tronel <Frederic.Tronel@i...>
Subject: [Caml-list] Classes and marshaling
Is it possible to serialize an object ??
In the toplevel:

        Objective Caml version 3.04

#  open Marshal ;;
#  class a = object end ;;
class a : object  end
#  to_string (new a) [] ;;
Exception: Invalid_argument "output_value: object value".
#

Best regards,


Frederic Tronel.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr