News for hackers. Stuff that matters.
Re:The Evolution of a Haskell Programmer (2001) by mraza007 on Monday January 04, 2021 @07:34PM (#25640376)
I would love to learn more haskell, what resources can I use to get started as a beginner
Re:The Evolution of a Haskell Programmer (2001) by FabHK on Monday January 04, 2021 @08:02PM (#25640588)
I think the standard recommendation is Learn You a Haskell for Great Good!, available for free online.

If you want to master the monad, try the Monad Challenges.

http://learnyouahaskell.com

https://mightybyte.github.io/monad-challenges/

Re:The Evolution of a Haskell Programmer (2001) by anyfoo on Monday January 04, 2021 @08:58PM (#25641105)
Somehow it never comes up in recommendations (I don't know why), but the book that gave me a lot of pleasure in learning Haskell in the beginning was "The Haskell School of Expression" by Paul Hudak.

It just "naturally" plays around with the language using very simple concepts, and at the same time showing the simplicity and expressiveness of working with those concepts that would be hard in other languages.

It's a bit of an old book by now, so it covers an older subset of the language (and maybe some very few syntactic details might be different, but I don't think it should impede anything), but for starting out you don't want to go too "wide" anyway.

Re:The Evolution of a Haskell Programmer (2001) by tayo42 on Monday January 04, 2021 @07:50PM (#25640517)
Any of the common books should be fine depending on the style you like, then I'd just start building things with it, especially with some of the popular libraries you'll run into new stuff often
Re:The Evolution of a Haskell Programmer (2001) by kbell1234 on Monday January 04, 2021 @08:07PM (#25640630)
Also recommend using the following IDE tooling: https://github.com/haskell/haskell-language-server

Especially easy to setup if you're using VSCode. Lots of Haskell code forgoes type annotations so with this plugin you can simply hover your mouse over things to see the exact type the compiler inferred.

Re:The Evolution of a Haskell Programmer (2001) by odyssey7 on Tuesday January 05, 2021 @01:22AM (#25642746)
Agreed. The advice from K&R applies, "the way to learn a new language is to write programs in it."
Re:The Evolution of a Haskell Programmer (2001) by matt-noonan on Monday January 04, 2021 @07:54PM (#25640535)
This is good advice. It seems like many people get stuck in a rut of thinking they need to study, study, study before they will be productive. That's backwards. Start building things right away; you'll immediately perceive what you need to understand next, and why.
Re:The Evolution of a Haskell Programmer (2001) by jgwil2 on Monday January 04, 2021 @09:08PM (#25641184)
Good advice for learning any programming language.
Re:The Evolution of a Haskell Programmer (2001) by tayo42 on Tuesday January 05, 2021 @12:14AM (#25642378)
for some reason i treated haskell differently when i learned it. IDK why, probably because it was tied so closely to functional programming. Yeah it should be treated like any other language I think
Re:The Evolution of a Haskell Programmer (2001) by mazelife on Monday January 04, 2021 @10:49PM (#25641838)
Haskell Programming from First Principles (https://haskellbook.com/). Not free but, hands down, the best book for someone looking to pick up Haskell.
Re:The Evolution of a Haskell Programmer (2001) by scns on Tuesday January 05, 2021 @03:36AM (#25643448)
Second this you can get a free sample to check it out.
Re:The Evolution of a Haskell Programmer (2001) by mraza007 on Wednesday January 06, 2021 @06:47PM (#25664474)
Thanks guys for sharing resources I’ll bookmark them