@@ -23,6 +23,15 @@ func (m *Set[T]) Has(a T) bool {
return ok
}
func (m *Set[T]) ContainsAll(other ...T) bool {
for _, a := range other {
if !m.Has(a) {
return false
return true
type defaultMap[K comparable, V any] struct {
m map[K]V
d V
The note is not visible to the blocked user.