sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Create a new comparator by providing a module which satisifies T
.
module Book = struct
module T = struct
type t = {
isbn: string;
title: string;
}
let compare book_a book_b =
String.compare book_a.isbn book_b.isbn
end
include T
include Comparator.Make(T)
end
let books = Set.empty (module Book)
The output type of Make
.
val comparator : (M.t, identity) comparator