issues Search Results · repo:michaelbull/kotlin-result language:Kotlin
Filter by
64 results
(74 ms)64 results
inmichaelbull/kotlin-result (press backspace or delete to remove)Abstract
I propose adding a tap function to the Result type, equivalent to Kotlin’s standard also function. The tap function
would perform a side-effect operation on the Result’s value and return the ...
yamad07
- 5
- Opened on Jan 8
- #118
Hello ! It would be a good idea to provide a mapSuspendCatching :
public inline infix fun V, U Result V, Throwable .mapSuspendCatching(transform: (V) - U): Result U, Throwable {
contract {
...
kdarrimajoupro
- 4
- Opened on Dec 5, 2024
- #117
@michaelbull Because of #110 we are locked to v1.x of this library. Would you consider publishing a new 1.x build which
removes the @Deprecated warnings on OK and Err? If we re happy using 1.1.21, which ...
GrahamBorland
- 2
- Opened on Nov 14, 2024
- #115
Hello.
I m using zipOrAccumulate with two procedures. Then I faced the problem that each procedure is executed twice. I would
like to avoid this behavior because my procedure calls an external API.
I ...
rhirai-line
- Opened on Oct 28, 2024
- #111
The Kotlin compiler doesn t support exporting inline classes to Objective-C/Swift (docs, Interopedia), which Result 2.x
is built upon. Instead of representing the result type in the headers, the compiler ...
discussion
question
tiwoc
- 6
- Opened on Sep 5, 2024
- #110
Description:
I m working on a Kotlin Multiplatform Project (KMP) that targets both Android and iOS. I m using the Result V, E API
from this library, and I ve encountered issues when trying to produce ...
question
sayah-y
- 4
- Opened on Aug 18, 2024
- #109
I ve been using Result V, E for quite some time in a KMP project targeting Android and iOS. I ve successfully consumed
instances of Result from Swift. It is not pretty and results in some loss of safety ...
curioustechizen
- 3
- Opened on Aug 7, 2024
- #108
Here s an extension function that might be useful to include.
/**
* Maps this [Result V, E ][Result] to [Result V, E ][Result] by either applying the [transform]
* function to the [value][Ok.value] ...
discussion
enhancement
nikclayton
- 1
- Opened on Jun 10, 2024
- #105
I noticed that the new inline value class in API 2.0 lets us access result.value directly without checking if it’s
actually safe, which wasn’t the case before. Here’s what I mean:
val result: Result Int, ...
discussion
kirillzh
- 26
- Opened on Jun 3, 2024
- #104
It s very easy to forget calling .bind() on a method especially when the rest of the binding block doesn t depend on the
return result of this method (eg a Result Unit, Error fire and forget call):
binding ...
enhancement
good first issue
help wanted
kirillzh
- 5
- Opened on May 14, 2024
- #103

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.