Kev
10/01/2025, 7:18 AMjava.lang.IllegalStateException: This is should be simple type: (Consumer<in (E..E?)>..Consumer<in (E..E?)>?)
fun main() {
val nel = listOf(1,2,3).mapOrAccumulate {
raise(Error("error"))
}
jacksonObjectMapper().writeValueAsString(nel).also(::println)
}
This is with Kotlin 2.0.21 and Arrow 2.1.2Alejandro Serrano.Mena
10/01/2025, 8:21 AM