Comparable v1.0.0 Comparable protocol View Source
Protocol which describes ordering relation for pair of types
Link to this section Summary
Functions
Accepts struct with fields :left and :right and returns ord value
Link to this section Types
Link to this type
ord()
View Source
ord()
View Source
ord() :: :gt | :lt | :eq
ord() :: :gt | :lt | :eq
Link to this type
t()
View Source
t()
View Source
t() :: Comparable.t()
t() :: Comparable.t()
Link to this section Functions
Link to this function
compare(left_and_right) View Source
Accepts struct with fields :left and :right and returns ord value