I could see arrow-fx is using Kotlin `suspend` to...
# arrow
l
I could see arrow-fx is using Kotlin
suspend
to replace IO tell apart codes w/o side effects, while thing I could not get is how to enforce it for dependencies? the impure code from dependency will not have
suspend
in the function definition, which means we could always use them in a “safe” environment?
p
You could see for example my old gist : https://gist.github.com/PhBastiani/9e494f7fd971848296914c775f052cbe. In this basic GIST I was showing how to use java.io while using fx !
l
@PhBastiani cheers 🙂