sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The Traced_result_syntax
module is similar to the Result_syntax
module with the following differences:
fail
wraps the error in a trace,and*
and and+
are providedSee Result_syntax
.
val return : 'a -> ('a, 'error) result
val return_unit : (unit, 'error) result
val return_none : ('a option, 'error) result
val return_some : 'a -> ('a option, 'error) result
val return_nil : ('a list, 'error) result
val return_true : (bool, 'error) result
val return_false : (bool, 'error) result
fail e
is (Error (Trace.make e))
where Trace
is the Traced_sigs.Trace
module that provides the trace type and functions.