pakoito
03/18/2019, 7:21 PMlet me see if I understand this correctly:More or less correct, yes. When doing IO { bla } you’re defining it but not running itis useless becausefx { IO { ... } }
is just a function value bound in a context, butIO { ... }
is correct sincefx { !IO { ... } }
understands how to deal with the coroutine and correctly causesfx
to run its computation?IO