Which dependency contains the `arrow.core.extensio...
# arrow
e
Which dependency contains the
arrow.core.extensions
package? I am trying to do
Either.applicative()
, in case I am wrong about where to find this
s
What version are you on? The
Functor
hierarchy was deprecated in 0.12.x and removed in 0.13.x
e
I am on 0.13
Is there an example somewhere of how to do an applicative over a data class constructor that works in 0.13?
Or is that simply just by doing this?
Copy code
either.eager {
    val a = foo.bind()
    val b = foo.bind()
    Foo(a, b)
}
I was thinking that there must be a way to chain these instead of doing them 1 by 1
r
Hi @EarthCitizen, I believe what you did there with bind you can do with zip if you want to treat as independent applicative values. Something like
Copy code
foo.zip(otherFoo) { a, b -> Foo(a, b) }
e
@raulraja Ah thanks! I will try that