logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Map.OrderedType - Input signature of the functor Map.Make.

Documentation

       Module type OrderedType
        = sigend

       Input signature of the functor Map.Make .

       typet

       The type of the map keys.

       valcompare : t->t->int

       A  total ordering function over the keys.  This is a two-argument function f such that fe1e2 is zero if
       the keys e1 and e2 are equal, fe1e2 is strictly negative if e1 is smaller than e2 ,  and  fe1e2  is
       strictly  positive  if  e1  is  greater  than  e2 .  Example: a suitable ordering function is the generic
       structural comparison function compare .

OCamldoc                                           2025-06-12                                Map.OrderedType(3o)

Module Type

       Module type   Map.OrderedType

Name

       Map.OrderedType - Input signature of the functor Map.Make.

See Also