Funx.Monoid.Ord (funx v0.8.4)

View Source

Run in Livebook

A monoid implementation for ordering logic (Ord). Provides default comparison functions and supports combining multiple Ord comparators into a single composite comparator.

Summary

Types

t()

@type t() :: %Funx.Monoid.Ord{
  ge?: (any(), any() -> boolean()),
  gt?: (any(), any() -> boolean()),
  le?: (any(), any() -> boolean()),
  lt?: (any(), any() -> boolean())
}

Functions

default?(_, _)