[r6rs-discuss] Libraries, scripts and programs

From: AndrevanTonder <andre>
Date: Fri Oct 6 13:49:13 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?

Andre
Received on Fri Oct 06 2006 - 13:46:22 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC