package TCSLib

  1. Overview
  2. Docs
type !'a comparator = 'a -> 'a -> int
val default : 'a comparator
val nocompare : 'a comparator
val product : 'a comparator -> 'b comparator -> ('a * 'b) comparator
val product3 : 'a comparator -> 'b comparator -> 'c comparator -> ('a * 'b * 'c) comparator
val product4 : 'a comparator -> 'b comparator -> 'c comparator -> 'd comparator -> ('a * 'b * 'c * 'd) comparator
val product5 : 'a comparator -> 'b comparator -> 'c comparator -> 'd comparator -> 'e comparator -> ('a * 'b * 'c * 'd * 'e) comparator
val inner_product : 'a comparator -> 'a comparator -> 'a comparator
val option_compare : 'a comparator -> 'a option comparator
val by_map : 'b comparator -> ('a -> 'b) -> 'a comparator
val by_default_map : ('a -> 'b) -> 'a comparator
OCaml

Innovation. Community. Security.