Hacker News new | ask | show | jobs
by tutfbhuf 2389 days ago
I think in order to understand Monads you should try to invent them yourself. Try to create a pure IO function in the programming language you know best. Consider the state of the world as input parameter of your function and return a modified version of the worlds state. Then try to compose IO functions and try to write an interface for IO function composition.