srfi-9 record compatibility with boot-9 records
authorAndy Wingo <wingo@pobox.com>
Wed, 17 Aug 2011 08:47:04 +0000 (10:47 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 17 Aug 2011 08:47:04 +0000 (10:47 +0200)
commit8761623524d767e6e355f0de4c3be426ed3c8b09
treec89b6a2256eb7deffa629753184842f36004bd87
parent42f9581238b011d15114bfd31606cbda10574d17
srfi-9 record compatibility with boot-9 records

* module/srfi/srfi-9.scm (define-record-type): Instead of defining the
  RTD using make-vtable, use make-struct with the record-type-vtable,
  and record the type name and fields names in the vtable.  This way
  SRFI-9 records are compatible with boot-9 records.  Also we use a
  generic printer, instead of generating one anew.
module/srfi/srfi-9.scm