Is that predefined ?
# arrow
s
Is that predefined ?
r
nope, there is no such function in Arrow, there could be when we move Validated to Core but Try is going to disappear soon
s
Is it
That's radical 🙂
d
Pre-1.0 problems
r
The issue in Kotlin is that
Try
can’t work with
suspend
s
ah ok
r
and all effects in Kotlin are always
suspend
soon arrow will include a compiler plugin that tracks purity and other things you can turn on and off to make your code more FP
s
oh nice
r
and when that is turned on you won’t be able for example to use
println()
unless it’s
suspend
and the data type that handles suspend is IO because
suspend
in kotlin implies potentially
async
which
Try
can’t support