Michael Bull
|
99515df0f7
|
Remove GetTest.GetError
|
2017-10-21 18:12:25 +01:00 |
|
Michael Bull
|
be2fa210cc
|
Add getErrorOr
Matches Haskell's Either.fromRight
|
2017-10-21 18:10:08 +01:00 |
|
Michael Bull
|
bffa455ee4
|
Add feature parity with Rust's Result type
|
2017-10-21 16:52:29 +01:00 |
|
Michael Bull
|
c3534276b4
|
Rename error factory method to err
Kotlin has it's own error method, therefore the IDE doesn't immediately
prompt the user to import our error factory method.
|
2017-10-21 15:03:39 +01:00 |
|
Michael Bull
|
c9a7d16562
|
Move factory methods to Result.kt
|
2017-10-21 04:37:37 +01:00 |
|
Michael Bull
|
8dc7015910
|
Correct return types of mapBoth calls
|
2017-10-21 04:29:18 +01:00 |
|
Michael Bull
|
faf315d395
|
Use named arguments in unit tests
|
2017-10-21 04:21:56 +01:00 |
|
Michael Bull
|
3602e8dce1
|
Initial commit
|
2017-10-21 03:51:30 +01:00 |
|