HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

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.