I am not sure if this deserves it’s own post. I figured I would post here and then add it to discussion if there is sufficient interest.
I recently started reading Learn You A Haskell For Great Good. This is the first time I have attempted to learn a functional language, and I am only a beginner in Imperative languages (Java). I am looking for some exercises that could go along with the e-book. Ideally, the exercises would encourage learning new material in a similar order to how the book is presented. I am happy to substitute/compliment with a different resource as well, if it contains problems that allow one to practice structurally. If you know of any such exercises, I would appreciate a link to them. I am aware that Project Euler is often advised; does it effectively teach programming skills, or just problem solving? (Then again, I am not entirely sure if there is a difference at this point in my education).
I’m not. The reason I picked it up was because it happens to be the book recommended in MIRI’s course suggestions, but I am not particularly attached to it. Looking again, it seems they do actually recommend SICP on lesswrong, and Learnyouahaskell on intelligence.org.
I am not sure if this deserves it’s own post. I figured I would post here and then add it to discussion if there is sufficient interest.
I recently started reading Learn You A Haskell For Great Good. This is the first time I have attempted to learn a functional language, and I am only a beginner in Imperative languages (Java). I am looking for some exercises that could go along with the e-book. Ideally, the exercises would encourage learning new material in a similar order to how the book is presented. I am happy to substitute/compliment with a different resource as well, if it contains problems that allow one to practice structurally. If you know of any such exercises, I would appreciate a link to them. I am aware that Project Euler is often advised; does it effectively teach programming skills, or just problem solving? (Then again, I am not entirely sure if there is a difference at this point in my education).
Thanks for the help!
I would heartily recommend Project Euler for Haskell and to anyone picking up a new language (or programming for the first time).
For Haskell specific problems, there is 99 Haskell problems.
For building monad intuition, there’s a tutorial with some problems here.
This is a tutorial where you implement a Scheme in Haskell.
Programming Praxis has a bunch of practice exercises.
I haven’t tried this project out, but it’s supposed to allow you to work on TopCoder problems with Haskell.
There is a Haskell course with problems being put together here. I’m sure how it works, though, and documentation is sparse.
There’s more advice here.
If you’re looking for Haskell code to read, I would start with this simplified version of the Prelude.
Awesome, thanks so much! If you were to recommend one of these resources to begin with, which would it be?
Happy to help!
I like both Project Euler and 99 Haskell problems a lot. They’re great for building success spirals.
Why are you committed to that book? SICP is well-tested introductory textbook with extensive exercises. Added: I meant to say that it is functional.
I’m not. The reason I picked it up was because it happens to be the book recommended in MIRI’s course suggestions, but I am not particularly attached to it. Looking again, it seems they do actually recommend SICP on lesswrong, and Learnyouahaskell on intelligence.org.
Thanks for the suggestion.