I'm surprised that I can't find anything on this in the archives. As far as I can tell, with R6RS we have to keep up tradition (in several Schemes) of explicitly exporting every accessor/mutator/predicate/constructor for a (syntactic) record type definition. If this issue was discussed, I'd be interested to read that discussion.
Unfortunately, it seems that macros can't save us here because there's only one (export ...) clause right at the beginning of the library. Otherwise we could perhaps have a define-type-and-export macro for use at top-level within a library. Further, it seems that based on the definition of a top-level program that it isn't possible to replace the library syntax itself with an extended version? -Ryan _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
