[r6rs-discuss] [Formal] Library form should prefix libraries

From: John Cowan <cowan>
Date: Mon Jan 22 07:58:19 2007

---
This message is a formal comment which was submitted to formal-comment_at_r6rs.org, following the requirements described at: http://www.r6rs.org/process.html
---
Submitter: John Cowan
Email address: cowan_at_ccil.org
Issue type: Simplification
Priority: Minor
Component: Libraries
Report version: 5.92
Summary:  The library form should prefix rather than enclose libraries.
Currently a library is represented by a single datum (a library form),
whereas a top-level program is represented by a sequence of forms.
The latter is more convenient for both generation and processing,
and I urge that it be adopted for libraries also.
This can be achieved by moving the export, import, and library-body
parts of the library out of the library form (typically this amounts
to moving a single close paren), and copying the language of report
section 7.1 about "a delimited piece of text" into report section 6.1.
-- 
Babies are born as a result of the              John Cowan
mating between men and women, and most          http://www.ccil.org/~cowan
men and women enjoy mating.                     cowan_at_ccil.org
    --Isaac Asimov in Earth: Our Crowded Spaceship
Received on Sat Jan 20 2007 - 13:25:55 UTC

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