Hi guys, I would like to know if there is any exam...
# arrow
c
Hi guys, I would like to know if there is any example of using Arrow and Kotlin flow ? I searched on the web and couldn’t find anything useful.
s
Anything specific you’re looking for? You can use
Arrow-Core
types inside
Flow
without anything special needed. You can use
Arrow Fx
suspend support if you want to mix it with
Flow
.
If you’re looking for typeclasses for
Flow
those haven’t been implemented yet
c
Ok, thx for your response. I thought there was an implementation for Flow as exist for types like SingleK, MaybeK, etc
s
That hasn’t been implemented yet. Contributions would be welcome, and I’d be glad to give guidance and help 🙂
There is already a KotlinX module available in the Arrow Fx repo where it could be added.
c
ok I will take a look at it later