Debian Codegraph @

src/Data/List/Sort/MergeSort.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- An implementation of merge sort along with proofs of correctness.
5 ------------------------------------------------------------------------
6
7 -- Unless you are need a particular property of MergeSort, you should
8 -- import and use the sorting algorithm from `Data.List.Sort` instead
9 -- of this file.
10
11 {-# OPTIONS --cubical-compatible --safe #-}
12
13 open import Relation.Binary.Bundles using (DecTotalOrder)
14
15 module Data.List.Sort.MergeSort
16 {a ℓ₁ ℓ₂} (O : DecTotalOrder a ℓ₁ ℓ₂) where
17
18 open import Data.List.Sort.MergeSort.Base O public
19 open import Data.List.Sort.MergeSort.Properties O using (mergeSort) public