12345678910111213141516171819(** Primitives for polymorphic compare. *)(*_ Polymorphic compiler primitives can't be aliases as this doesn't play well with
inlining. (If aliased without a type annotation, the compiler would implement them
using the generic code doing a C call, and it's this code that would be inlined.) As a
result we have to copy the [external ...] declaration here. *)external(<):'a->'a->bool="%lessthan"external(<=):'a->'a->bool="%lessequal"external(<>):'a->'a->bool="%notequal"external(=):'a->'a->bool="%equal"external(>):'a->'a->bool="%greaterthan"external(>=):'a->'a->bool="%greaterequal"externalascending:'a->'a->int="%compare"externalcompare:'a->'a->int="%compare"externalequal:'a->'a->bool="%equal"letdescendingxy=compareyxletmax=Caml.maxletmin=Caml.min