fix: unintended behavior for collections

This commit is contained in:
Shunsuke Shibayama 2023-04-19 18:49:27 +09:00
parent daf01f3cf2
commit 7d7849b493
9 changed files with 66 additions and 17 deletions

View file

@ -0,0 +1,10 @@
.Set: ClassType
.Set.
copy: |T|(self: .Set(T)) -> .Set(T)
differece: |T|(self: .Set(T), other: .Set(T)) -> .Set(T)
intersection: |T|(self: .Set(T), other: .Set(T)) -> .Set(T)
isdisjoint: |T|(self: .Set(T), other: .Set(T)) -> Bool
issubset: |T|(self: .Set(T), other: .Set(T)) -> Bool
issuperset: |T|(self: .Set(T), other: .Set(T)) -> Bool
symmetric_difference: |T|(self: .Set(T), other: .Set(T)) -> .Set(T)
union: |T|(self: .Set(T), other: .Set(T)) -> .Set(T)