sort

package
v0.0.0-...-8fa2440 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortList

func SortList(List *list.List, f SortLtFunc)

Sort a linked list. This is a stable sort.

Types

type SortLtFunc

type SortLtFunc func(a, b *list.Element) bool

Must return true iff a is less than b.

Jump to

Keyboard shortcuts

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