Changes between Version 6 and Version 7 of LibraryDeclarationsCowan


Ignore:
Timestamp:
06/06/13 12:18:53 (4 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LibraryDeclarationsCowan

    v6 v7  
    135135The implementation should process the definitions of the named identifiers (if none are named, the whole library) silently.  The user should still be notified of errors. 
    136136 
     137== Declarations in main programs == 
     138 
     139To allow library declarations in main programs (not in files of code included by `include` or `include-ci`), the following new syntax is added: 
     140 
     141`(declare `''declaration'' ...`)` 
     142 
     143Allows any library declaration except `export` and `reexport` to be included as part of a main program.   It is an error for `declare` to appear except at the beginning of a main program.  For backward compatibility with R7RS-small, programmers should avoid wrapping `import`, `include`, `include-ci`, or `begin` declarations in `declare` declarations. 
     144 
    137145== Import sets == 
    138146