3 ms·
But how else would you do IO?
by actionfromafar 3y ago
But how else would you do IO?
- Noe2097 3y agoBy having IO functions taking an argument representing the global IO environment/state and returning it. That way IO functions can remain pure.
- actionfromafar 3y agoNext you are going to tell me about endofunctors I guess.