[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell
Subject: Re: deleteBy
From: Alex Ferguson <abf () cs ! ucc ! ie>
Date: 1999-12-08 21:40:24
Message-ID: 199912082137.VAA28929 () joyce ! ucc ! ie
[Download RAW message or body]
S. Alexander Jacobson:
> Can we stop polluting the namespace with list based function
> definitions? Most of these functions: delBy, filter, map, concat, length,
> take, takeWhile, etc. are well specified for data structures other than
> lists. Regardless of whether Haskell includes generic programming
> extensions, it would be nice to be able to use these function names for
> the same operation in other datastructures (even if they are implemented
> manually).
That seems a tad harsh: given that the proposal was for an extension
to the _List_ library, adding list based functions seems neither
inappropriate, nor to pollute 'the' namespace.
Let's hear it for qualified imports!
Slán,
Alex.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic