guile-devel
[Top][All Lists]
Advanced

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

Re: (define-module (foo) #:import (...)), a la r6rs


From: Andy Wingo
Subject: Re: (define-module (foo) #:import (...)), a la r6rs
Date: Sun, 08 Jan 2012 17:44:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Sun 08 Jan 2012 17:28, address@hidden (Ludovic Courtès) writes:

> Andy Wingo <address@hidden> skribis:
>
>>   #:use-module ((a) #:select (b c d))
>>   #:use-module ((e) #:renamer (symbol-prefix-proc 'p:))
>>
>> vs
>>
>>   (import (only (a) b c d)
>>           (prefix (e) p:))
>
> Sounds a bit like kill/yank vs. copy/paste.  ;-)

Heh, indeed ;-)

> I’m happy with the current form and have a harder time parsing ‘import’,
> but I can understand some may prefer ‘import’, in particular anyone who
> comes to Guile with an R6RS background.
>
> So if you think it's this worthwhile, go for it!

OK, thanks for the feedback.  Next time I get bothered by this I'll
propose a concrete patch.

Cheers,

Andy
-- 
http://wingolog.org/



reply via email to

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