HieiJ
05/21/2019, 7:57 PMsuspend
functions and I can't find out a good explanation for it... With IO the approach is the same in a stack of function calls, as every function reasons only about itself and wraps side effects inside the IO that returns. Instead, with suspend functions there is a difference between being inside an fx block (where I can use the effect {}
block and the !
operator) or being inside a suspend function, where I can't do it.