[plt-scheme] 299.105

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri May 6 16:00:09 EDT 2005

The exp-tagged code in CVS for MzScheme and MrEd is now version 299.105.

 **********************************************************************
 *  IMPORTANT: TCP output ports are now block-buffered by default.    *
 *  This means that you need to add explicit `flush-output' calls to  *
 *  most anything that uses TCP output. Alternately, set the buffer   *
 *  mode back to unbuffered with `file-stream-buffer-mode'.           *
 **********************************************************************

Changes:

 * `file-stream-buffer-mode' works on more port types, including TCP
   ports and (potentially) custom ports.

 * Added yet another argument to `make-input-port' and
   `make-output-port' to implement getting/setting the port's buffer
   mode.

 * Added `define-serializable-class[*]' to MzLib's "class.ss". It
   works much like `define-serializable-struct', except that a class
   can implement the `externalizble<%>' interface to customize the
   serialization. See the docs for various rules about when a class
   can be serialized.

 * Added an `inspect' class to `class[*]' for setting the class
   extension's inspector (possibly #f).

 * Added `class/derived' to MzLib's "class.ss", which is useful for
   writing macros that expand into a `class' form.

 * Added `define-struct/properties' to MzLib's "struct.ss". It's like
   `define-struct', except that you can attach properties to the
   structure type.

Matthew



Posted on the users mailing list.