Result Module
Types
Type | Description |
Functions and values
Function or value | Description |
|
|
|
|
|
|
|
|
Full Usage:
either successFunc failureFunc twoTrackInput
Parameters:
'a -> 'b
failureFunc : 'c -> 'b
twoTrackInput : Result<'a, 'c>
Returns: 'b
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
ofOption errorMessage o
Parameters:
'a
o : 'b option
Returns: Result<'b, 'a>
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
tee f x
Parameters:
'a -> unit
x : 'a
Returns: 'a
|
|
|
|
|
|
Full Usage:
tryCatch f exnHandler x
Parameters:
'a -> 'b
exnHandler : exn -> 'c
x : 'a
Returns: Result<'b, 'c>
|
|