package functoria
Name helpers.
ocamlify n
is an OCaml identifier looking very much like n
, but where invalid characters have been removed or replaced: all characters outside of 'a'-'z''A'-'Z''0''9''_''-'
, and replacing '-' with '_'. If the resulting string starts with a digit or is empty then it raises Invalid_argument
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>