Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
var x = new Set<T>();
x := make(map[T]bool)
x := make(map[T]struct{})
let x = new Set();
class T(object): pass x = set(T())
class T: ... s = set(T() for _ in range(x))
val x = Set[T]()