diff options
| author | V1K1NGbg <victor@ilchev.com> | 2024-08-22 17:49:09 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-10-21 13:30:51 -0300 |
| commit | 0de1d57f8cb31d122e6cbe4ab83b178a90d996c7 (patch) | |
| tree | 236dfcbecbd7ba57c4b76b4772acbf8881f6400d /src | |
| parent | 61d24fc2e01e459733ac9a24acdeaaaa1b4b8a69 (diff) | |
| download | luarocks-0de1d57f8cb31d122e6cbe4ab83b178a90d996c7.tar.gz luarocks-0de1d57f8cb31d122e6cbe4ab83b178a90d996c7.tar.bz2 luarocks-0de1d57f8cb31d122e6cbe4ab83b178a90d996c7.zip | |
Teal: add type definition module luarocks.core.types.ordering
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/core/types/ordering.d.tl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/luarocks/core/types/ordering.d.tl b/src/luarocks/core/types/ordering.d.tl new file mode 100644 index 00000000..653e267f --- /dev/null +++ b/src/luarocks/core/types/ordering.d.tl | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | local record ordering | ||
| 2 | record Ordering<K> | ||
| 3 | {K} | ||
| 4 | sub_orders: {K: Ordering<K>} | ||
| 5 | end | ||
| 6 | |||
| 7 | type SortBy<K> = table.SortFunction<K> | Ordering<K> | ||
| 8 | end | ||
| 9 | |||
| 10 | return ordering \ No newline at end of file | ||
