guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rfc (define-module ... #:use-modules ...)


From: Thien-Thi Nguyen
Subject: Re: rfc (define-module ... #:use-modules ...)
Date: Thu, 04 Oct 2007 21:09:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

() Clinton Ebadi <address@hidden>
() Thu, 04 Oct 2007 13:14:22 -0400

   I would prefer something with the syntax 

   #:use-modules ((a b c) 
                  ((d e f) #:select (x y z)))

that was actually my first inclination.  i suppose this way there is
also a better congruence in the differences:

 r6rs-export  :  guile-export  ::  r6rs-import  :  guile-use-modules

 (export ...)    #:export (...)    (import ...)    #:use-modules (...)

it still differs from (use-modules ...), the top-level macro, though.

probably true sugar-rush madness would be to accomodate both styles:
recognize both `#:import (X Y Z)' and `#:use-modules X Y Z'.  hmmm.

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]