Implementation and test cases for the R6RS (rnrs records inspection)
authorJulian Graham <julian.graham@aya.yale.edu>
Wed, 10 Mar 2010 06:36:15 +0000 (01:36 -0500)
committerJulian Graham <julian.graham@aya.yale.edu>
Fri, 21 May 2010 01:18:02 +0000 (21:18 -0400)
commit55684b5e3b5ceab5b87c46fc9dd2b78637ff13e1
treeb1ad3d9c98c0c2237afe95856e24c3772e94350d
parent8b58ea453916338a60b8e8cc8d785c82a801b4ae
Implementation and test cases for the R6RS (rnrs records inspection)
library.

* module/Makefile.am: Add module/rnrs/records/6/inspection.scm to RNRS_SOURCES.
* module/rnrs/records/6/inspection.scm: New file.
* module/rnrs/records/6/procedural.scm: Assorted refactoring:
    Create index constants for record, rtd, and rcd field indexes;
    record-type-vtable, record-constructor-vtable: More informative display
    names;
    (make-record-type-descriptor): fold left, not right when creating vtable;
      store field names as vector, not list;
      detect opaque parents
* test-suite/Makefile.am: Add test-suite/tests/r6rs-records-inspection.test to
  SCM_TESTS.
* test-suite/tests/r6rs-records-inspection.test: New file.
module/Makefile.am
module/rnrs/records/6/inspection.scm [new file with mode: 0644]
module/rnrs/records/6/procedural.scm
test-suite/Makefile.am
test-suite/tests/r6rs-records-inspection.test [new file with mode: 0644]