r/functionalprogramming • • Dec 24 '23

Question Any good reader/writer/state monad tutorials?

I'm a big FP fan, mainly using it in typescript with fp-ts. I use a lot of the constructs in that library, but a few years back I tried using reader and turned my codebase into a complete goddamn mess. My fault, I did lots of dumb things.

This means I've shied away from these monads for a while. I would love to learn them more. Any good guides on them?

Thanks.

10 Upvotes

10 comments sorted by

View all comments

Show parent comment

3

u/miyakohouou Dec 24 '23

If you do end up reading it, I hope you enjoy it!

3

u/mobotsar Dec 25 '23

I read some of the later chapters and enjoyed them. My background is theoretical, so I used that content to learn more about the pragmatics of haskell, and it worked well for me in that role.