HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulevector-algorithms-0.9.1.0Haskell2010

Data.Vector.Algorithms.Insertion

A simple insertion sort. Though it's O(n^2), its iterative nature can be beneficial for small arrays. It is used to sort small segments of an array by some of the more heavy-duty, recursive algorithms.

  • 1 type
  • 6 values
typetype Comparison e = e -> e -> Ordering
#

A type of comparisons between two values of a given type.