I love it how Haskell is becoming more and more widespread and widely known. More and more people use Haskell at universities and in the industry, enrich the ecosystem and work on GHC. It is really gaining a foothold in the programming world. If there's any language that deserves to displace some of the ancient crap that's plaguing the mainstream, it is Haskell. It really shows that academic soundness means real practical productiveness.
A great thing about Haskell is that functions don't have to be defined before you refer to them. No headers, no interface files, no forward declarations. Everything can be mutually recursive (even modules, but most compilers don't allow that). You can put declarations in the file in whatever order you want. Why don't more languages do this?
Name:
Anonymous2014-03-02 14:08
kek'em
Name:
Anonymous2014-03-02 14:20
>>41
The FORCED EXCLAIMATION POINTING OF CODE version? No, it was awful. Thanks for removing that shit Nikita.
Name:
Anonymous2014-03-02 14:26
>>43
A great thing about plain C is that functions don't have to be defined before you refer to them. No headers, no interface files, no forward declarations. Everything can be mutually recursive (even modules, but most compilers don't allow that). You can put declarations in the file in whatever order you want. Why don't more languages do this?
Name:
Anonymous2014-03-02 14:37
>>46
C has le type inference too xDDDDD!!!!
f(n) {
return (double)n;}
As a gay man, I take positive representations where I can get them. Any time a same-gender relationship is portrayed in a positive but very real light benefits us all. The same can be said of Haskell, which, much like being gay, will likely remain a minority programming language in a world that seems married to object oriented paradigm, and never really "come out of the closet" and be truly ready for acceptance in the industry. But anytime we can get some good press, it helps us all. I'm a big fan of Haskell (even over Ruby!) and I'm proud that Facebook has taken a stand and acknowledged that some of us are different, and thats ok.
You can make type-level monads with poly-kinded type families. You can define >>= and Return as type families and make different instances for each kind. All you need is type-level do notation.
>>55
You should be asking: ``Should I learn me a haskell?''
Name:
Anonymous2014-03-02 20:16
if I learn me a Haskell can I make money?
Name:
Anonymous2014-03-02 20:27
Haskell can overload functions on return type with typeclasses. It's an amazing feature. class C a where f :: Char -> a
instance C Bool where f = (`elem` ['a'..'z'])
instance C Int where f = fromEnum
False = f 'a' && f '0'
9 = f '9' - f '0' :: Int
>>45
No, the one before he introduced that, and the forced exclamation point indentation of the code still remains merely as the forced horizontal bar indentation of the code.
>>62
That's because of the way the standard library is designed. It's not polymorphic enough. There's a (++) for [] and a separate one for Vector when it could just as easily work on any Monoid. map works only on lists when it could really work on any Functor. Folds can work on any Foldable.
There are alternate preludes that fix these things.
>>64
Yes, I am a pedophile. So? I dont see any problem. I embraced my childlover soul long ago and I am happy together with my girlfriend (who is a cute 6 y/o loli!). We fuck a lot of her friends with and without their consent and I am pretty slim and good looking. But thanks anyway asshole. Go and watch your stupid porn with grown women in it while I have SEX with my underaged girlfriend.
>>66
Yes, I am a pedophile. So? I dont see any problem. I embraced my childlover soul long ago and I am happy together with my girlfriend (who is a cute 6 y/o loli!). We fuck a lot of her friends with and without their consent and I am pretty slim and good looking. But thanks anyway asshole. Go and watch your stupid porn with grown women in it while I have SEX with my underaged girlfriend.
>>69
Yes, I am a pedophile. So? I dont see any problem. I embraced my childlover soul long ago and I am happy together with my girlfriend (who is a cute 6 y/o loli!). We fuck a lot of her friends with and without their consent and I am pretty slim and good looking. But thanks anyway asshole. Go and watch your stupid porn with grown women in it while I have SEX with my underaged girlfriend.
>>72,74
Yes, I am a pedophile. So? I dont see any problem. I embraced my childlover soul long ago and I am happy together with my girlfriend (who is a cute 6 y/o loli!). We fuck a lot of her friends with and without their consent and I am pretty slim and good looking. But thanks anyway asshole. Go and watch your stupid porn with grown women in it while I have SEX with my underaged girlfriend.
>>76
Yes, I am a pedophile. So? I dont see any problem. I embraced my childlover soul long ago and I am happy together with my girlfriend (who is a cute 6 y/o loli!). We fuck a lot of her friends with and without their consent and I am pretty slim and good looking. But thanks anyway asshole. Go and watch your stupid porn with grown women in it while I have SEX with my underaged girlfriend.
>>78
Yes, I am a pedophile. So? I dont see any problem. I embraced my childlover soul long ago and I am happy together with my girlfriend (who is a cute 6 y/o loli!). We fuck a lot of her friends with and without their consent and I am pretty slim and good looking. But thanks anyway asshole. Go and watch your stupid porn with grown women in it while I have SEX with my underaged girlfriend.