Description
Result module lacks the functionality provided by Option module. Missing stuff:
Result.getOrElse
Result.getOrElseF
Result.getOrFail
Result.getOrRaise
Result.either : ('a->'c )-> ('b->'c) -> Result<'a,'b'> -> 'c
I took the names from Option module, but wouldn't mind coming with something better.
Repro steps
N/A
Expected behavior
N/A
Actual behavior
N/A
Known workarounds
N/A
Related information
N/A
Description
Resultmodule lacks the functionality provided byOptionmodule. Missing stuff:Result.getOrElseResult.getOrElseFResult.getOrFailResult.getOrRaiseResult.either : ('a->'c )-> ('b->'c) -> Result<'a,'b'> -> 'cI took the names from
Optionmodule, but wouldn't mind coming with something better.Repro steps
N/A
Expected behavior
N/A
Actual behavior
N/A
Known workarounds
N/A
Related information
N/A