Roger Cyr
06/05/2021, 3:03 PMraulraja
06/05/2021, 3:44 PMsuspend Foo.doStuff(): Unit
is equivalent to ReaderT<IO, Foo, Unit>
and can also be passed as value and has type of suspend Foo.() -> Unit
. this also applies to other names like “Environmental Effects” which I think just means here the suspended effect has access to the scope of its receiver and this receiver can be passed in any call site as argument.raulraja
06/05/2021, 3:47 PMraulraja
06/05/2021, 3:51 PMRoger Cyr
06/05/2021, 4:40 PM