Documentation
¶
Index ¶
- func Compare[A constraints.Ordered](a A, b A) pkg.Ordering
- func Comparing[A constraints.Ordered, B any](f pkg.F1[B, A], x B, y B) pkg.Ordering
- func ComparingP[A constraints.Ordered, B any](f pkg.F1[B, A]) pkg.F2[B, B, pkg.Ordering]
- func Sort[A constraints.Ordered](xs []A) []A
- func SortOn[A any, B constraints.Ordered](xs []A, f pkg.F1[A, B]) []A
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparingP ¶
ComparingP is a partial application of Comparing, fixing the first argument
func Sort ¶
func Sort[A constraints.Ordered](xs []A) []A
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.