aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-31 23:19:07 +0200
committerKim Alvefur <zash@zash.se>2023-03-31 23:19:07 +0200
commitaa0d6f297d27f1c3ae1a94d05d9855af6dda4e45 (patch)
tree26593f136196993ae624178c2547d18fdcc11c40 /teal-src
parent10431cfec62e20d9f64527ac0754e0a30fc6751e (diff)
downloadprosody-aa0d6f297d27f1c3ae1a94d05d9855af6dda4e45.tar.gz
prosody-aa0d6f297d27f1c3ae1a94d05d9855af6dda4e45.zip
util.set: Add missing remove function in Teal spec
Diffstat (limited to 'teal-src')
-rw-r--r--teal-src/prosody/util/set.d.tl1
1 files changed, 1 insertions, 0 deletions
diff --git a/teal-src/prosody/util/set.d.tl b/teal-src/prosody/util/set.d.tl
index 1631eec4..a23dd258 100644
--- a/teal-src/prosody/util/set.d.tl
+++ b/teal-src/prosody/util/set.d.tl
@@ -4,6 +4,7 @@ local record lib
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
+ remove : function<T> (Set<T>, T)
add_list : function<T> (Set<T>, { T })
include : function<T> (Set<T>, Set<T>)
exclude : function<T> (Set<T>, Set<T>)