Getting used to 0.13 and all good. Except I can't ...
# arrow
g
Getting used to 0.13 and all good. Except I can't find where the functionality formerly in Apply / Applicative has gone. Looking for ap, mapN, tupledN etc...
p
think
Applicative
type class was deprecated too…
g
Thanks for that. But more generally what has been the decision regarding the functionality formerly in Apply / Applicative? The docs for 0.12 state "Most relevant APIs are now concrete over the data types available as members or top level extension functions". I have code that uses ap etc... quite liberally so need to know where it is. Or are they gone for good? https://arrow-kt.io/docs/0.12/apidocs/arrow-core-data/arrow.typeclasses/-applicative/
r
Hi @Garth Gilmour!, we got rid of both ap and the N arity versions of tupled in applicative in favor of just zip. the main reason being that… `tupled`: Can be easily composed with just zip + Pair, Single or any other constructor of your data classes instead of reboxing in tuple. We also changed the methods to take function args instead of the tuples. `ap`: We found barely nobody used it and it was not worth keeping as it was before there to autoderive behaviors of applicative but applicative is now gone and all its relevant behaviors are concrete. If you have a specific case where you think it’s still relevant to have or valid feel free to bring it here and we can discuss it to see if there is any alternatives.
👍 2
g
Thanks @raulraja - that all makes sense 🙂
👍 1