[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20645: sxml xpath exports "filter"
From: |
Thompson, David |
Subject: |
bug#20645: sxml xpath exports "filter" |
Date: |
Tue, 9 Feb 2016 09:16:07 -0500 |
On Mon, Feb 8, 2016 at 11:03 PM, Matt Wette <address@hidden> wrote:
> This is a very annoying "bug". The (sxml xpath) “filter” procedure overrides
> the builtin guile “filter”.
>
> I believe the fix can be implemented with the following changes to (sxml
> xpath):
> 1) (define node-filter filter)
> 2) In the #:export list, replace “filter” with “node-filter”
Is this really a bug? The module system allows names to have
different meanings without conflicting in a global namespace. When
importing a module, you can choose which symbols to import, or prefix
all of the symbols with something.
- Dave