thanks guys. I have decided to use the high arity module, but when building I get weird errors such as:
Unresolved reference 'nel'
,
Unresolved reference 'bindAll'
,
Unresolved reference 'either'
, and other similar errors.
Duplicate class arrow.core.IterableKt found in modules arrow-core-high-arity-jvm-1.2.4.jar -> arrow-core-high-arity-jvm-1.2.4 (io.arrow-kt:arrow-core-high-arity-jvm:1.2.4) and arrow-core-jvm-1.2.4.jar -> arrow-core-jvm-1.2.4 (io.arrow-kt:arrow-core-jvm:1.2.4)
Duplicate class arrow.core.MapKt found in modules arrow-core-high-arity-jvm-1.2.4.jar -> arrow-core-high-arity-jvm-1.2.4 (io.arrow-kt:arrow-core-high-arity-jvm:1.2.4) and arrow-core-jvm-1.2.4.jar -> arrow-core-jvm-1.2.4 (io.arrow-kt:arrow-core-jvm:1.2.4)
My gradle build file looks like:
implementation('io.arrow-kt:arrow-fx-coroutines:1.2.4')
implementation('io.arrow-kt:arrow-core-high-arity:1.2.4')
implementation("io.arrow-kt:arrow-core-jvm:1.2.4")