Hacker News new | ask | show | jobs
by Noe2097 1022 days ago
By having IO functions taking an argument representing the global IO environment/state and returning it. That way IO functions can remain pure.
1 comments

Next you are going to tell me about endofunctors I guess.