package yocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Yocaml.TrySource
A specialised version of Result (with Error.t as Error part). Try is very useful for producing sequential validations, where as soon as a step produces an error, the computation sequence is interrupted.
Type
Constructors
Production of valid (Ok) or invalid (Error) values.
Conversions
Produces a Validate from a Try.
Produces a Try from a Validate.
Helpers
Pretty-printers for Try.t.
Implementations
Some implementations of some abstractions offered by Preface.
Try is a Functor that (logically) implements map.
Try is an Applicative that (logically) implements apply and pure.
Try is also a Monad that (logically) implements bind and return.
Infix and Syntax operators
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page