Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
actionfromafar
· 3y ago · 0 comments
But how else would you do IO?
Comments
[–]
Noe2097
3y ago
By having IO functions taking an argument representing the global IO environment/state and returning it. That way IO functions can remain pure.
[–]
actionfromafar
OP
3y ago
Next you are going to tell me about
endofunctors
I guess.