Are there many people using Arrow without KotlinX....
# arrow
c
Are there many people using Arrow without KotlinX.Coroutines? I'm making a lib which is meant to use both. For convenience for people who do not use one or the other, I'm splitting it into a
core
module with no dependencies, a
arrow-compat
module with the custom DSLs for Arrow, a
coroutines-compat
with extensions to manage Flow etc. I don't want to create a
arrow-coroutines-compat
module too…
s
I doubt many people are using Kotlin without KotlinX Coroutines in general afaik 😂 If you're using Compose, or Android isn't it transitively already included?
c
With Compose yes, with vanilla Android it's strongly recommended because of the main thread rule. I see many backend projects that use Spring or Http4k that can't use coroutines, though. I tend to think that a project that doesn't use coroutines is even less likely to use Arrow, but I'm not sure
s
Http4k is indeed incompatible with
suspend
, sadly. Maybe Loom brings some change into that, since Http4k is JVM only anyways. Spring.. should really be using KotlinX Coroutines IMO ` Otherwise you're probably not reaping the benefits of Kotlin.