[R6RS] Definitions in scripts

Anton van Straaten anton at appsolutions.com
Tue Aug 1 11:47:31 EDT 2006


dyb at cs.indiana.edu wrote:
>>Presumably the decision to require definitions to appear before 
>>expressions in library bodies applies to scripts, too.
> 
> 
> Yes, but only because scripts consist of a header and a library.  There
> are no top-level definitions or expressions in a script.

Right, but I'm questioning the "scriptiness" of such a beast.  They're 
executable libraries, or programs, but hardly scripts in the sense that 
the term is used for most other languages.

Anton



More information about the R6RS mailing list