Hello! :wave: I am trying to upgrade our app from ...
# arrow
a
Hello! 👋 I am trying to upgrade our app from 0.11 to 0.13.1, and it seems
parTupledN
and
parMapN
has been moved and is now deprecated. Is there documentation on how I could resolve this? Thank you!
s
Hey @Attila Domokos, I'm not sure if you saw the release post? https://www.47deg.com/blog/arrow-0.13.0-release/
parMapN
was renamed to
parZip
and now includes
CoroutineScope
as receiver in the lambdas. And
tupledN
was removed in Arrow Core to remove redundant aliases, so we followed the same in Arrow Fx Coroutines. So you can refactor to
parZip({ fa() }, { fb() }) { a, b -> Pair(a, b) }
.
Hope that helps 👍
a
Thanks @simon.vergauwen, I tried to bump Arrow to 0.12 and that had a pointer to
parZip
. I'll check the release notes.
👍 1
I had to use nested
parTupledN
calls with v0.11.0 and now with
parZip
it's a lot cleaner! 🎉
🎉 1