--- Thien-Thi Nguyen <[EMAIL PROTECTED]> wrote:

> proposed:
>   (define-module (foo)
>     #:use-modules
>     (a b c)
>     ((d e f) #:select (x y z))
>     #:export (bar))
> 
> that is, `#:use-modules X Y Z' would be exactly equivalent
> to `#:use-module X #:use-module Y #:use-module Z'.
> 

I like it for two reasons.

1. The lack of parallelism between the (use-modules) procedure and the
#:use-module form has always bothered me.

2. It would then be a bit easier to create a mapping to the r6rs
library form.  In r6rs libraries, you can include multiple libraries
with one "import" command.



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to