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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 4d334ea · 2026-10-12

Modulevector-algorithms-0.9.1.0Haskell2010

Data.Vector.Algorithms.Merge

This module implements a simple top-down merge sort. The temporary buffer is preallocated to 1/2 the size of the input array, and shared through the entire sorting process to ease the amount of allocation performed in total. This is a stable sort.

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

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