HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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.