Beginnings of <slot> slot definition class
authorAndy Wingo <wingo@pobox.com>
Fri, 16 Jan 2015 14:44:48 +0000 (15:44 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 23 Jan 2015 15:16:03 +0000 (16:16 +0100)
commit26a6aaefac07e4f67252a47a5f3e23a305706241
tree5d4ea48cd3febdf57dc4d78835fc33639b805b8a
parent567a6d1ee7efc3982748d3bd894057a76f076706
Beginnings of <slot> slot definition class

* module/oop/goops.scm (define-macro-folder): Factor out this helper.
  (fold-class-slots): Implement using define-macro-folder.
  (fold-slot-slots): New definition, for slots of <slot-definition>.
  (define-slot-indexer): New helper.  Use to define indexes for slots of
  <class> and of <slot>.
module/oop/goops.scm