package ppx_repr
Computations that read values from a shared environment.
val return : 'a -> ('a, 'p) t
module Syntax : sig ... end
val run : ('a, 'e) t -> 'e -> 'a
Runs a ('a,'e)t
and extracts the final value 'a
from it.
val ask : ('e, 'e) t
Retrieves the monad environment.
val asks : ('e -> 'a) -> ('a, 'e) t
Retrieves a projection of the current monad environment.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>