On Sep 1, 2007, at 8:38 AM, William D Clinger wrote: >> Is there a form to load only the macros from a file? > > No.
I hate to suggest this (because I'm not certain if this should be regarded as a bug or a feature), but. . . You could just expand the file to import only its macros. In Larceny expanding a define-syntax form mutates the syntax environment. So something like this function might suffice: (lambda (file) (for- each macro-expand (read-file file))) -Felix _______________________________________________ Larceny-users mailing list [email protected] https://lists.ccs.neu.edu/bin/listinfo/larceny-users
