| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- An implementation of insertion sort and its properties |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
open import Relation.Binary.Bundles using (DecTotalOrder) |
| 10 |
|
| 11 |
module Data.List.Sort.InsertionSort |
| 12 |
{a ℓ₁ ℓ₂} |
| 13 |
(O : DecTotalOrder a ℓ₁ ℓ₂) |
| 14 |
where |
| 15 |
|
| 16 |
open import Data.List.Sort.InsertionSort.Base O public |
| 17 |
open import Data.List.Sort.InsertionSort.Properties O using (insertionSort) public |