`Ior.handleErrorWith()` f parameter lacks a Right value
Open
- Dominant language
- Kotlin
- Stars
- 6.6k
- Forks
- 472
- Avg merge
- 3d 49m
- Merged PRs (30d)
- 4
Description
`f` cannot generate `Ior.Right` or `Ior.Both` since it is only passed a leftValue
Needs to be ` f: (A, B) -> Ior`
https://github.com/arrow-kt/arrow/blob/8c27809a20c7e8433faf0e844c9c38d00aff9a85/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Ior.kt#L428-L436
Contributor guide
Research direction
Start in arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Ior.kt at lines 428-436 and inspect Ior.handleErrorWith() and its f parameter. Verify how the parameter type limits the returned Ior variants, then update the API so the right value is available and confirm the surrounding behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100