OkThen.Result.Private (ok_then v1.1.0)
These functions are not part of the public API, and may change without notice.
Link to this section Summary
Link to this section Types
Link to this type
func_or_value(out)
Specs
func_or_value(out) :: (any() -> out) | (() -> out) | out
Link to this type
func_or_value(tag, out)
Specs
func_or_value(tag, out) :: (tag, any() -> out) | func_or_value(out)
Link to this section Functions
Link to this function
map_normalized_result(arg1, func_or_value)
Specs
map_normalized_result(OkThen.Result.tagged(), func_or_value(any(), any())) :: OkThen.Result.result_input()
Link to this function
map_value(value, func_or_value)
Specs
map_value(any(), func_or_value(any())) :: any()
Link to this function
normalize_result_input(tag, default_tag \\ :untagged)
Specs
normalize_result_input(any(), atom()) :: OkThen.Result.tagged()
Link to this function
normalize_result_output(result)
Specs
normalize_result_output(t) :: t when t: OkThen.Result.tagged()
Link to this function