Open rascio opened 1 year ago
IIRC, there are two downsides in having always injected the R
in the context:
::myfunction
) that doesn't expect a contextAnyway I think this could be a good addition to the already available methods set. Something like flatMapR
or askFlatMap
or something like this.
Hi there! As first thing very nice project for who like me would like to move to ZIO but is stuck with Kotlin 😛
I was playing around with it and not sure if I wasn't unable to find it or there is a reason to not have the
R
parameter of theKIO
in the functions forflatMap
/map
Something like:
so that one can do:
I couldn't find something similar, but seems a nice way of accessing it taking advantage of Kotlin features