Re: use-modules: selecting, which symbols not to load

2013-01-06 Thread Ian Price
Panicz Maciej Godek writes: > What I've been lacking is specifying symbols that are NOT meant > to be imported from a module. > So I'd wish to be able to load modules in the following manner: > > (use-modules ((rnrs) #:version (6) #:without (write display))) While I see this is resolved now[0],

Re: use-modules: selecting, which symbols not to load

2012-12-31 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> Although it is not documented, there's a way to do this: >> >> (use-modules ((rnrs) #:version (6) #:hide (write display))) > > Woow, I didn’t know that one. Does someone want to document it? I'll work on it. Mark

Re: use-modules: selecting, which symbols not to load

2012-12-30 Thread Ludovic Courtès
Hi! Mark H Weaver skribis: > Although it is not documented, there's a way to do this: > > (use-modules ((rnrs) #:version (6) #:hide (write display))) Woow, I didn’t know that one. Does someone want to document it? Thanks, Ludo’.

Re: use-modules: selecting, which symbols not to load

2012-12-29 Thread Panicz Maciej Godek
>> to be imported from a module. >> So I'd wish to be able to load modules in the following manner: >> >> (use-modules ((rnrs) #:version (6) #:without (write display))) > > Although it is not documented, there's a way to do this: > > (use-modules ((rnrs) #:version (6) #:hide (write display))) Than

Re: use-modules: selecting, which symbols not to load

2012-12-27 Thread Mark H Weaver
Panicz Maciej Godek writes: > What I've been lacking is specifying symbols that are NOT meant > to be imported from a module. > So I'd wish to be able to load modules in the following manner: > > (use-modules ((rnrs) #:version (6) #:without (write display))) Although it is not documented, there'

Re: use-modules: selecting, which symbols not to load

2012-12-27 Thread Panicz Maciej Godek
2012/12/27 Thien-Thi Nguyen : > () Panicz Maciej Godek > () Thu, 27 Dec 2012 04:43:16 +0100 > >I think it can sometimes be desirable to import the whole public >interface except certain bindings. > > Could you give a non-contrived example? I can't think of any, myself. > I remember toying

Re: use-modules: selecting, which symbols not to load

2012-12-27 Thread Thien-Thi Nguyen
() Panicz Maciej Godek () Thu, 27 Dec 2012 04:43:16 +0100 I think it can sometimes be desirable to import the whole public interface except certain bindings. Could you give a non-contrived example? I can't think of any, myself. I remember toying w/ the idea when adding ‘#:renamer’, w/ sam

use-modules: selecting, which symbols not to load

2012-12-26 Thread Panicz Maciej Godek
Hey, I've been thinking about the ways `use-modules` can be used. Namely, one can import selected symbols from a module, and additionally can rename specified symbols. What I've been lacking is specifying symbols that are NOT meant to be imported from a module. So I'd wish to be able to load modul