package mechaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Helpers for the option Monad
Monadic operations
Apply a two arguments function to a pair of optionals : if one of the component is None
, the result is None
, otherwise map2 (Some x, Some y)
f
is Some (f x y)
Return the content of an optional, or the given default value if the first argument is None
.
module Infix : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>