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
Marshal module.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1997-12-02 (16:35)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: Marshal module.
> Using the Marshal module from the ocaml interpreter, I found its strange
> behavior.  Though Marshal.from_string is registered in the Marshal.mli
> interface file, the interpreter complains for "Reference to undefined
> global".

Yes, that's a mistake in the building of ocaml.  Basically, the
implementation of the "Marshal" module was removed.  The reason you
can still use "Marshal.to_string" is that it's a primitive, not
defined in the implementation of "Marshal", while "Marshal.from_string"
is ML code from the implementation of "Marshal".

The problem will be fixed shortly.  Thanks for the bug report, but
really your message doesn't belong to, you should
have mailed instead.


- Xavier Leroy