package tablecloth-native
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Native OCaml library implementing Tablecloth, a cross-platform standard library for OCaml and Rescript
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.0.8.tar.gz
md5=0c71dd4035d6fa4978baabc3c932dba3
sha512=44ba09f1ff43e61403703cc244e91e0f8062bd9da998f031430d701a4de148b02878f7f881303f6ded261176f21926ab5ba00a313510ed8e2d2f252b3fd00054
doc/tablecloth-native/Tablecloth/Comparator/Make/index.html
Module Comparator.Make
Create a new comparator by providing a module which satisifies T.
Examples
module Book = struct
module T = struct
type t = {
isbn: string;
title: string;
}
let compare bookA bookB =
String.compare bookA.isbn bookB.isbn
end
include T
include Comparator.Make(T)
end
let books = Set.empty (module Book)The output type of Make.
Parameters
Signature
val comparator : (M.t, identity) comparator sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page