From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA21997 for caml-redistribution; Tue, 2 Dec 1997 17:35:13 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA17441 for ; Tue, 2 Dec 1997 15:51:37 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.8.7/8.8.5) with ESMTP id PAA22997; Tue, 2 Dec 1997 15:51:16 +0100 (MET) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA17422; Tue, 2 Dec 1997 15:51:16 +0100 (MET) From: Xavier Leroy Message-Id: <199712021451.PAA17422@pauillac.inria.fr> Subject: Re: Marshal module. In-Reply-To: <199712011137.UAA16835@nsb.is.titech.ac.jp> from Ken Wakita at "Dec 1, 97 08:37:01 pm" To: Ken.Wakita@is.titech.ac.jp (Ken Wakita) Date: Tue, 2 Dec 1997 15:51:15 +0100 (MET) Cc: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: weis > 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 caml-list@inria.fr, you should have mailed caml-light@inria.fr instead. Regards, - Xavier Leroy