Documentation
Init
.
Data
.
Array
.
Sort
.
Basic
Search
return to top
source
Imports
Init.Omega
Init.Data.Slice.Array
Init.Data.Array.Subarray.Split
Imported by
Subarray
.
mergeSort
Array
.
mergeSort
source
@[irreducible]
def
Subarray
.
mergeSort
{
α
:
Type
u_1}
(
xs
:
Subarray
α
)
(
le
:
α
→
α
→
Bool
:= by exact (· ≤ ·))
:
Array
α
Equations
One or more equations did not get rendered due to their size.
Instances For
source
@[inline]
def
Array
.
mergeSort
{
α
:
Type
u_1}
(
xs
:
Array
α
)
(
le
:
α
→
α
→
Bool
:= by exact (· ≤ ·))
:
Array
α
Equations
xs
.
mergeSort
le
=
(
Std.Rii.Sliceable.mkSlice
xs
*...*
)
.
mergeSort
le
Instances For