123456789101112131415161718192021222324252627open!ImportincludeSign0includeIdentifiable.Make(Sign0)(* Open [Replace_polymorphic_compare] after including functor applications so
they do not shadow its definitions. This is here so that efficient versions
of the comparison functions are available within this module. *)open!Replace_polymorphic_compareletto_float=function|Neg->-1.|Zero->0.|Pos->1.letflip=function|Neg->Pos|Zero->Zero|Pos->Neglet(*)tt'=of_int(to_intt*to_intt')(* Include type-specific [Replace_polymorphic_compare at the end, after any
functor applications that could shadow its definitions. This is here so
that efficient versions of the comparison functions are exported by this
module. *)includeReplace_polymorphic_compare