diff options
| author | amelia squires <[email protected]> | 2025-04-14 14:03:08 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-04-14 14:03:08 -0500 |
| commit | dc7e4527e88ed0c59e17c0ff04c01e1c92136e42 (patch) | |
| tree | 48c6107656e14cfbbcbb49424fc3454de850a5db /library/lullaby/array.lua | |
| parent | 9c3eea30aeb3c13b6df2288fbd086756a217a04b (diff) | |
config change, local support, overall fixes
Diffstat (limited to 'library/lullaby/array.lua')
| -rw-r--r-- | library/lullaby/array.lua | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/library/lullaby/array.lua b/library/lullaby/array.lua new file mode 100644 index 0000000..ebc23af --- /dev/null +++ b/library/lullaby/array.lua @@ -0,0 +1,56 @@ +---@meta + +---to be rewritten +---@deprecated +---@class lullaby.array +local table = {} + +---greatest, least +---@param array number[] +function table.quicksort(array) end + +---greatest, least +---@param array number[] +function table.mergesort(array) end + +---greatest, least +---@param array number[] +function table.shellsort(array) end + +---greatest, least +---@param array number[] +function table.bubblesort(array) end + +---greatest, least +---@param array number[] +function table.heapsort(array) end + +---least, greatest +---@param array integer[] +function table.countintsort(array) end + +---dont use this lol +---@deprecated +---greatest, least +---@param array number[] +function table.miraclesort(array) end + +---dont use this lol +---@deprecated +---greatest, least +---@param array number[] +function table.stalinsort(array) end + +---dont use this lol +---@deprecated +---greatest, least +---@param array number[] +function table.slowsort(array) end + +---dont use this lol +---@deprecated +---greatest, least +---@param array number[] +function table.bogosort(array) end + +return table |
