[r6rs-discuss] Library naming ambiguity?

From: Michael Sperber <sperber>
Date: Thu, 14 Jun 2007 09:48:47 +0200

AndrevanTonder <andre at het.brown.edu> writes:

> [...] a big reason I like your proposal more is that it avoids
> proliferation of parentheses.

On the other hand, throwing an extra set of parens around the `import'
and `export' clauses (or making the body of a library also a clause)
would make the set of possible clauses extensible in future revisions of
the report in a backward-compatible manner. I.e.

(library <name>
  ((import ...)
   (export ...)
   (optimize ...)
   (destroy ...)
   (kill ...)
   (maim ...))

  (define ...) ...)

Or

(library <name>
  (import ...)
  (export ...)
  (optimize ...)
  (destroy ...)
  (kill ...)
  (maim ...)

  (code
    (define ...) ...))

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Thu Jun 14 2007 - 03:48:47 UTC

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