[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
199.2
The v200-tagged code in CVS for MzScheme and MrEd is now version 199.2.
Changes:
* `syntax->datum' renamed to `syntax-object->datum' (for compatibility
with Chez).
* `datum->syntax' renamed to `datum->syntax-object', and arguments
reordered (for compatibility):
(datum->syntax-object cxtx-stx datum [src-stx])
* The `struct' form is gone, replaced by the `make-struct-type'
procedure.
The `define-struct' form works as before, but also supports an
optional inspector expression after the field list.
* Added a `make-struct-type' procedure, struct type properties, and
inspectors.
Properties let a programmer attach static information to a
structure type. Using properties, structure-based classes can be
implemented more efficiently.
Inspectors provide debugging access, with a custodian-like hierarchy
for opacity. The form
(define-struct s (f ...))
creates a type for structs that are effectively opaque. Use
(define-struct s (f ...) (make-inspector))
for transparent structs.
* Fixed a bug in immediate modules that use module paths.
* Started migrating docs to SLaTeX and tex2page formatting of code.
Temporary docs are at
http://www.cs.utah.edu/~mflatt/tmp/mzscheme.pdf
http://www.cs.utah.edu/~mflatt/tmp/mzlib.pdf
Next stop: revised class system.
Matthew