
15 Apr
2006
15 Apr
'06
8:44 p.m.
On Sat, Apr 15, 2006 at 07:15:28PM +1000, Hoan Ton-That wrote:
Hello Happy Haskellers,
I would like to humbly suggest that we replace all Int functions in the prelude with the corresponding generic ones. These are: drop, take, length, splitAt, replicate and (!!).
If at all possible it would be grand if we replaced the ones in Data.List (such as elemIndex) and other modules too!
Irradicate Irritating Ints! There I said it!
On the downside, this means that I couldn't just say: take 5 mylist I'd instead have to write: take (5::Int) mylist I don't like having to do that. -- John