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: Ludovic Courtès
Subject: Re: (define-module (foo) #:import (...)), a la r6rs
Date: Sun, 08 Jan 2012 17:28:51 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Hello!

Andy Wingo <address@hidden> skribis:

> No argument there!  But I rarely use it.  Even #:select is a bit of a
> PITA to use:
>
>   #: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.  ;-)

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!

Thanks,
Ludo’.



reply via email to

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