Dmitry Suzdalev
fe30193d7c
Add iosSimulatorArm64 and macosArm64 targets
...
Closes #71
2022-02-08 17:34:15 +02:00
Sebastian Kappen
d07bd589ed
Add getOrThrow
...
Closes #68
2022-01-08 12:17:37 +00:00
Joseph Cooper
2667273015
Add runSuspendCatching and T#runSuspendCatching
...
Closes #67
2021-10-27 15:53:11 +01:00
Michael Bull
6080f3f190
Fix typo in throwIf/throwUnless kdoc
...
Missed the word "returns".
2021-10-26 17:09:58 +01:00
Joseph Cooper
3b87373b23
Add Result#{throwIf,throwUnless}
...
Closes #64 , #66
2021-10-26 15:54:28 +01:00
Michael Bull
f236e2674b
Add Result#orElseThrow
2021-10-26 15:51:56 +01:00
Michael Bull
419927f098
Suppress warning in GetTest
2021-10-26 12:32:01 +01:00
Joseph Cooper
4e1bb9d8de
Replace usages of useExperimentalAnnotation
...
Fix warnings on kotlin-result/build.gradle.kts and
kotlin-result-coroutines/build.gradle.kts caused by using deprecated
useExperimentalAnnotation function.
2021-10-12 08:32:42 +01:00
Mathias Guelton
32b1a9edb6
Fix typo in mapOr KDoc
2021-06-12 15:46:05 +01:00
Avently
c4c70b4d98
Add Linux, Windows and MacOS targets
2021-03-29 18:41:20 +01:00
Tristan Hamilton
0df4c62d4f
Move benchmarks to separate subproject
2021-02-10 22:07:29 +00:00
Tristan Hamilton
ccb9c5b3aa
Add iOS build targets
2021-02-10 15:45:16 +00:00
Michael Bull
754aa5aaa4
Fix typo in recoverUnless kdoc
2021-02-07 13:32:51 +00:00
Jan Müller
0f90bb8b90
Add JS targets for Kotlin Multiplatform ( #36 )
2020-11-29 21:34:08 +00:00
Thomas Stenberg Oddsund
0fdd0f2c2b
Add recoverIf and recoverUnless
...
These are similar to [toErrorIf] and [toErrorUnless], but maps from Err to Ok.
2020-11-28 22:50:52 +00:00
Michael Bull
a0d17c6b76
Remove erroneous sample comment
...
Dokka can't see this sample because we don't ship test sources.
2020-08-29 12:06:22 +01:00
Tristan Hamilton
a9a0c384f4
Use Explicit API mode
...
See: https://kotlinlang.org/docs/reference/whatsnew14.html#explicit-api-mode-for-library-authors
2020-08-29 11:40:48 +01:00
Tristan Hamilton
620f434220
Remove unused dependencies
2020-08-29 11:35:03 +01:00
Michael Bull
33d376c4c8
Improve merge unit tests
2020-08-26 22:30:59 +01:00
Michael Bull
41269f06d3
Extract dependency versions to Versions object in buildSrc
2020-08-26 19:52:18 +01:00
Michael Bull
a76768fa42
Remove deprecation of eager-evaluating functions
...
They are fine to be used, and their lazy equivalents already have analogous
methods that can be used instead.
2020-08-26 19:16:44 +01:00
Michael Bull
4206f8b905
Fix suppressed warnings in unit tests
2020-08-26 19:11:13 +01:00
Michael Bull
09d341ae6d
Add Scala's merge
...
https://www.scala-lang.org/api/2.12.0/scala/util/Either$$MergeableEither.html#merge:A
2020-08-26 17:22:55 +01:00
Michael Bull
30b5d918c7
Fix missing project descriptions in pom files
2020-08-26 16:50:36 +01:00
Tristan Hamilton
b16fb559a1
Move binding coroutine implementation to separate subproject
2020-08-25 22:29:50 +01:00