are there any good github repos with code samples ...
# arrow
i
are there any good github repos with code samples or any talks specifically on arrow fx?
or any resource other than the docs
s
Hey @ipolyzos, Not really 😕 I think the Arrow Fx Coroutines docs are the ones that are the most up-to-date and include the most useful information. I’ve been mainly working on that project, and the docs in the last two years. Is there anything particular you’re looking for? I hope to share some back-end examples soon.
This was the announcement of the library 2,5 year ago.

https://www.youtube.com/watch?v=6sw8GAhUJz0&t=93s

Where me and Raul walk through a small example using Arrow Fx Coroutines.
If you’re familiar with Scala. In Arrow Fx Coroutines you can find what you would typically expect in Cats effect,
ZIO
or
Monix
.
parZip
,
parTravserse
,
Resource
,
CircuitBreaker
,
Atomic
(
Ref
), etc It provides higher level operations on top of KotlinX Coroutines.
It also tries to fill the gap by adding some high-level ops for
Flow
which you might expect in
FS2
. We hope to expose a bunch of utility modules for
Flow
specifically too, similar to the standard library of FS2.
i
actually kudos, because u’ve done an amazing job for fp in the kotlin community… i mainly wanted to check more examples to check and better understand different behaviors.. for example in the
parallel
section i see methods like parZip and guaranteeCase and wanted to see what else is included, probably more code samples etc. mostly to save me some time, because of time constraints.. but i guess the source code is the best place to dig in at the end of the day 😄
❤️ 1
s
Here is a full list of everything available (API DOCS). https://arrow-kt.io/docs/apidocs/arrow-fx-coroutines/arrow.fx.coroutines/
However most things are also mentioned mentioned/linked from the Quick Start. I’m happy to help with any question you come across. In 2022 I hope to focus more on content, examples etc. The foundational is now mostly finished 🙂
i
not to make any big promises, but im planning to explore functional event-driven microservices with kotlin, arrow and pulsar in 2022, so hopefully i can help with the effort as i get more familiar
😍 4
actually just saw the examples in the source code under
jvmTest
.. gives u some more samples for reference
p
i put together a little repo internally to share with colleagues a while ago, i'll try to make that externally available, might be useful to someone, would be great to get feedback from all the smart folks here 😅
🙌 1
🚀 1
i
I’ve found one of the biggest obstacles along the way to adopting arrow is that there’s a huge body of very detailed documentation that’s just no longer relevant. So when you’re struggling to figure out how to use things, there are a ton of helpful examples of 0.xx that all come up when you’re desperately googling. 🤣 This is not a criticism of the maintainers--the library is incredible, and obviously a labor of love. It’s just how it is.
i
yeah i think i noticed it.. was checking some blog around the IO type and then found nothing on the docs.. i assume it was replace by the resource