sort

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Quick = iota
	Bubble
	Shell
	Merge
	Heap
)

Variables

This section is empty.

Functions

func Reverse

func Reverse[T Type](sl []T)

Types

type Inf

type Inf[T Type] interface {
	Sort([]T)
}

func New

func New[T Type](method int) Inf[T]

type Type

type Type interface {
	constraints.Ordered
}

Jump to

Keyboard shortcuts

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