Re: [Scheme-reports] Library declarations in included files
Alan Watson 02 Jul 2012 00:58 UTC
> It is very important to have a clean separation between
> library declarations and Scheme code
OK, but it is also very important to have a clean separation between a library interface and a library implementation. I think the current library system is indeed broken in this sense and does needs fixing, somehow. I'd be very happy with include-library-declaration.
I don't quite see how export-interface fixes this problem. I'm thinking, for example, of a library that uses cond-expand to include files containing implementation-dependent code and, for clarity, wants to put all of the implementation-dependent imports in the same files as the implementation-dependent code.
Regards,
Alan
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports