builtins

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare[A constraints.Ordered](a A, b A) pkg.Ordering

func Comparing

func Comparing[A constraints.Ordered, B any](f pkg.F1[B, A], x B, y B) pkg.Ordering

func ComparingP

func ComparingP[A constraints.Ordered, B any](f pkg.F1[B, A]) pkg.F2[B, B, pkg.Ordering]

ComparingP is a partial application of Comparing, fixing the first argument

func Sort

func Sort[A constraints.Ordered](xs []A) []A

func SortOn

func SortOn[A any, B constraints.Ordered](xs []A, f pkg.F1[A, B]) []A

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL