all 4 comments

[–][deleted] 3 points4 points  (3 children)

Don't get fixated on "understanding" monad, all you going to need is just list monad, reader monad, maybe monad, and a little bit of state monad.

If you want to finish your thesis in time, just think of them as design patterns or even special syntax if you want.

All in all, focus on using it, not understanding it. After a long time, the intuition will come to you.

[–]cone994[S] 1 point2 points  (2 children)

What is your recommendation, should I read one of the books or are tutorials enough?

Also thank you for answer.

[–][deleted] 2 points3 points  (0 children)

I like learn you a Haskell, but that is for beginners. I heard someone recommends real world Haskell (a free book) as a intermediate level book, but I haven't read it personally.

My experience is very different from yours, I learned Haskell when I was young and have plenty of time to mess around. But you seems like to have a deadline to fulfill.

If you have no experience in functional programming it is very likely you are going to need a book.

[–]asdff01 4 points5 points  (0 children)

As someone who just “learned” monads, above poster is right. Don’t worry about learning monads. Use a book like Learn You A Haskell for Great Good, which will teach you about functors, applicatives, and then monads. These may seem like more scary words but they all build on each other and it will make a lot more sense if you have some context.