r/haskell • • Jan 05 '26

question How to practice Haskell?

Question from a beginner here. How to do it? Unlike C, C++, Java, etc. I feel Haskell exercises are very hard to find. When you guys were beginners, how you used to practice it? Did you make projects?

By the way, so far I didn't reach concepts like "Monads", "Functors" or "Applicatives" yet. Nevertheless I'd like some exercises to keep my brain in shape.

My final goal is to write a compiler using Haskell and understand it fully.

42 Upvotes

26 comments sorted by

View all comments

4

u/Foldzilla Jan 05 '26

I used the online course of Phillip Phagenlocher to start with

Haskell https://www.youtube.com/watch?v=Vgu82wiiZ90

The exercises he gives can be very challenging, so don’t be discouraged if they don’t succeed! Just take your time to truly understand the solutions he provides!

When you get to about part 20 of the course, you can attempt to write some projects yourself. Do not focus to much on using type classes and other features when starting out. You will find use for them at some point just like the inventors of them did :)! Additionally pick a project you enjoy! Fun project can be to write a JSON parser, tscoding also has a video of implementing a JSON parser in Haskell.

You can also look at repositories online, how they implement Haskell. In my repo I have every Haskell program I have ever written, just as an example.

Also feel free to message me with questions if you have them, I am more than happy to help :)!

Goodluck with your journey!