diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-23 13:36:52 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-23 13:36:52 +0100 |
commit | f68336b96e0d843511bb1bd3fdac8bba2fe4573a (patch) | |
tree | a54111914e081293e50b846e7f0d9654e885c2ed /teal-src/util/set.d.tl | |
parent | 738df041ac3965496e9247acc95d80f84d30b2b5 (diff) | |
download | prosody-f68336b96e0d843511bb1bd3fdac8bba2fe4573a.tar.gz prosody-f68336b96e0d843511bb1bd3fdac8bba2fe4573a.zip |
teal: Move into prosody namespace
Diffstat (limited to 'teal-src/util/set.d.tl')
-rw-r--r-- | teal-src/util/set.d.tl | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/teal-src/util/set.d.tl b/teal-src/util/set.d.tl deleted file mode 100644 index 1631eec4..00000000 --- a/teal-src/util/set.d.tl +++ /dev/null @@ -1,21 +0,0 @@ -local record lib - record Set<T> - add : function<T> (Set<T>, T) - contains : function<T> (Set<T>, T) : boolean - contains_set : function<T> (Set<T>, Set<T>) : boolean - items : function<T> (Set<T>) : function<T> (Set<T>, T) : T - add_list : function<T> (Set<T>, { T }) - include : function<T> (Set<T>, Set<T>) - exclude : function<T> (Set<T>, Set<T>) - empty : function<T> (Set<T>) : boolean - end - - new : function<T> ({ T }) : Set<T> - is_set : function (any) : boolean - union : function<T> (Set<T>, Set<T>) : Set <T> - difference : function<T> (Set<T>, Set<T>) : Set <T> - intersection : function<T> (Set<T>, Set<T>) : Set <T> - xor : function<T> (Set<T>, Set<T>) : Set <T> -end - -return lib |