[Scheme-reports] Library declarations in included files Alan Watson (02 Jul 2012 00:35 UTC)

[Scheme-reports] Library declarations in included files Alan Watson 02 Jul 2012 00:34 UTC

Draft 6 states that the an include library declaration expands to the contents of the named files wrapped in a begin. However, this restricts included files to containing only commands and definitions and not further library declarations. One use of include is to separate the interface (i.e., the export declaration) and the implementation. However, this restriction on import makes this difficult, since the implementation will typically use imports and possibly cond-expands, but these cannot appear in the included file.

I understand the WG has considered some aspects of libraries since draft 6. Have they fixed this?

Regards,

Alan
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports