[R6RS] Scripts

dyb at cs.indiana.edu dyb at cs.indiana.edu
Wed Jul 19 13:52:34 EDT 2006

> That would also be OK with me.  If it helps, even identifying the name
> of the procedure within the module in the script header would be OK
> with me.

That would make me even happier, and it would allow multiple scripts
to be included in the same library.  How about:

   #! /usr/bin/env scheme-script <library-name> <script-name>


   #! /usr/bin/env scheme-script foo bar
   (library foo
     (import ---)
     (export bar)

     (define bar ---))


   #! /usr/bin/env scheme-script foo bar
   (library foo
     (import (only my-scripts bar))
     (export bar))


More information about the R6RS mailing list