package ocaml-base-compiler
Sorting and merging lists.
Sort a list in increasing order according to an ordering predicate. The predicate should return true
if its first argument is less than or equal to its second argument.
Sort an array in increasing order according to an ordering predicate. The predicate should return true
if its first argument is less than or equal to its second argument. The array is sorted in place.
Merge two lists according to the given predicate. Assuming the two argument lists are sorted according to the predicate, merge
returns a sorted list containing the elements from the two lists. The behavior is undefined if the two argument lists were not sorted.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>