Hi! Andy Wingo <wi...@pobox.com> skribis:
> On Thu 28 Jul 2011 23:23, l...@gnu.org (Ludovic Courtès) writes: > >> Andy Wingo <wi...@pobox.com> skribis: >> >>> So what do you all think about: >>> >>> (define-module (foo) >>> #:import ((bar) >>> (only (baz) qux foo) >>> ...)) >>> >>> Or even: >>> >>> (define-module (foo) >>> (import (bar) >>> (only (baz) qux foo) >>> ...)) >> >> I’d prefer #:use-modules (plural), for consistency: >> >> (define-module (foo) >> #:use-modules ((bar) >> (baz) #:select (qux foo) >> (chbouib) #:renamer (symbol-prefix-proc 'p))) >> >> What do you think? > > I don't like the paren placement so much. Consistency is important, but > TBH I think that we should phase out the "use-module" / "use-modules" > terminology, in favor of "import" terminology of r6rs and the coming > r7rs. > > What do you think about that? :-) I find aesthetics important, but phasing out such an important construct “just” for aesthetics seems harsh to me. Besides, stuff like #:renamer is strictly more powerful than what R[67]RS provide, IIRC. Actually I’m happy with the ways things are currently, so I’m obviously biased. ;-) Thanks, Ludo’.