Result (result v1.7.2)
Documentation for Result.
Link to this section Summary
Link to this section Types
Link to this type
t(error, value)
Specs
t(error, value) :: Result.Error.t(error) | Result.Ok.t(value)
Link to this section Functions
Link to this function
and_then(result, f)
Link to this function
and_then_x(results, f)
Link to this function
catch_all_errors(result, f)
Link to this function
catch_error(result, expected_error, f)
Link to this function
error(value)
Link to this function
error?(result)
Link to this function
fold(result)
Link to this function
from(arg1, arg2)
Link to this function
map(result, f)
Link to this function
map2(result1, result2, f)
Link to this function
map_error(result, f)
Link to this function
ok(value)
See Result.Ok.of/1
Link to this function
ok?(result)
Link to this function
perform(result, f)
Link to this function
product(list)
Link to this function
r_and(r1, r2)
Link to this function
r_or(r1, r2)
Link to this function
resolve(result)
Link to this function
retry(result, f, count, timeout \\ 1000)
Link to this function
sum(list)
Link to this function