[r6rs-discuss] Libraries, scripts and programs
andre at het.brown.edu
Fri Oct 6 13:46:22 EDT 2006
I have a question regarding the intent of the editors as to how
programs might be divided into files. I am of the school that despises
having to divide a small program into more than one file just to make it work.
So my question is: It seems that an implementation is allowed to permit the
following organization all in one file:
(library foo --------)
#! /usr/bin/env scheme-script
(import foo) -------))
where the first non-library line delimits the start of the script. This seems
to be explicitly allowed by (7.1). Is this correct?
More information about the r6rs-discuss