12345678910111213141516171819202122232425262728293031323334open!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_string_hum=function|Neg->"negative"|Zero->"zero"|Pos->"positive";;letto_float=function|Neg->-1.|Zero->0.|Pos->1.;;letflip=function|Neg->Pos|Zero->Zero|Pos->Neg;;let(*)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