Join Slack
Powered by
Hello, I'm experimenting a bit with Arrow Fx. Look...
# arrow
h
HieiJ
02/28/2019, 9:44 PM
Hello, I'm experimenting a bit with Arrow Fx. Looking at the documentation here:
https://arrow-kt.io/docs/effects/fx/polymorphism/
I can't make the compiler happy with this code:
Copy code
fun <F> Fx<F>.program(): Kind<F, Int> = fx { !effect { sideEffect() } }
The compiler can't find a definition for the
effect
function. Is it a work in progress or something that should already work out of the box?
Open in Slack
Previous
Next