package octez-protocol-011-PtHangz2-libs
This helper module allows to handle partially specified limits during the injection process.
val unknown : 'a t
val known : 'a -> 'a t
val of_option : 'a option -> 'a t
val is_unknown : 'a t -> bool
val join :
where:string ->
('a -> 'a -> bool) ->
'a t ->
'a t ->
'a t Tezos_base.TzPervasives.tzresult
join ~where eq x y
computes the order-theoretic union of x
and y
. If both x
and y
are not Unknown
, the function fails iff their contents are not equal according to eq
.
val fold : unknown:'a -> known:('b -> 'a) -> 'b t -> 'a
val get : when_unknown:string -> 'a t -> 'a Tezos_base.TzPervasives.tzresult
val value : when_unknown:'a -> 'a t -> 'a
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>