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

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

Documentation

       Module type OrderedType
        = sigend

       Input signature of the functor Set.Make .

       typet

       The type of the set elements.

       valcompare : t->t->int

       A  total ordering function over the set elements.  This is a two-argument function f such that fe1e2 is
       zero if the elements 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                                Set.OrderedType(3o)

Module Type

       Module type   Set.OrderedType

Name

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

See Also