2 ms·
I've had a lot of fun in #haskell. One time, I was talking with some people about how annoyed I was with not having a natural number type in Haskell. (Really,
by tikhonj 14y ago
I've had a lot of fun in #haskell.
One time, I was talking with some people about how annoyed I was with not having a natural number type in Haskell. (Really, wtf?) It's annoying, but clearly not the end of the world--no other language I know has a natural number type either.
Can you guess what sort of response a complaint like this would have on another channel? At best, I would get some commiseration. But more likely people would either not care or actually get annoyed with me. I imagine similar reactions even to feature requests and complaints that are less "academic" than natural numbers.
So what happened on #haskell? Somebody went off and implemented a nice natural number library[1][2] right then and there--while I was still online, in fact. Pretty cool.
[1]: http://jeltsch.wordpress.com/2012/03/20/natural-numbers-in-haskell/ http://jeltsch.wordpress.com/2012/03/20/natural-numbers-in-h...
[2]: http://hackage.haskell.org/package/natural-numbers-0.0.0.0 http://hackage.haskell.org/package/natural-numbers-0.0.0.0
- manish_gill 14y agoHeh. That, more than anything, makes me want to learn Haskell. :)