Why aren't you learning haskell right now?
>>60028643
personally i think its starting to get a bit too mainstream
>>60028643
The outcome is not rewarding. The produced binaries are slow as hell and drains CPU and memory resources
i looked at a few examples and it doesn't seem like a real programming language
it's "programming" in much the same way that fetching data from a relational database with SQL is "programming", you just describe the results and you don't worry about the implementation.
Not to mention the 2GB of runtime bloat and the absolutely backwards bolted on hacks they had to add just to allow stateful programming, which is pretty fucking necessary outside of pure maths dickery.
>>60028643
I'm learning Ocaml, it seems to be cooler.
>>60028643
I work with python and I am happy.
what am I missing?
>>60028655
I suggest ATS. (applied type system)
It's a hidden gem, it's certainly not mainstream
>>60028643
I have a life
>>60028643
because I already know haskell
>>60031432
t. brainlet
>>60029083
the ST monad is not a hack and stateful programming is not necessary for anything
>>60028643
I am.
Finding a good book is hard.
I've already learned Haskell at uni and let's be honest, it's a worthless language.
>>60028643
I have a gf
>>60028643
I dont waste my time learning meme langs
>>60032000
>t. vir/g/in
>>60033300
>I don't use my time wisely
>>60033317
>learning haskel
>using my time wisely
>>60028643
I have a cock
so I havedata Yoyo =
Yo String String
deriving (Show, Eq)
getit :: String -> IO (Maybe [Yoyo])
how do I remove the "IO" from the returned value of getit?
>>60033332
String -> (Maybe[Yoyo])
>>60033460
wow man, is that a yoyo reference? Xdd
But I am.
Not that I am enthusiast about it anyway
>>60033460
Bind the return value of the getit function inside a domain = do
val <- getit "string"
>>60033460
and you might also want to take a look at the (>>=) operator
Why is it worth learning? What is good about it?
These are genuine questions.
I don't think I'm smart enough to handle functional programming. I keep considering learning some form of Lisp or Haskell but I'm really intimidated, it might be hard to learn for me and it might not have any real payoff.
>>60028643
It doesn't work good on Windows and the syntax is a shit. Java or F# are better.
>>60028643
It's a nearly useless language, cool to mess around with but it really just feels like a toy.
>>60033641
>>60033657
thanks
>>60033666
for type safety and abstraction, basically joy of programming
>>60028643
To each their own. I don't feel a need to be different for the sake of being different, or just so I can pretend superiority towards people who actually made rational choices.