4 ms·
By having IO functions taking an argument representing the global IO environment/state and returning it. That way IO functions can remain pure.
by 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 3y agoNext you are going to tell me about endofunctors I guess.