setutils
nimony/lib/std/setutils.nim
func toggle(x: var set[T]; y: T)Toggles the element
yin the setx.template toggle(x: var set[T]; y: set[T])Toggles the set
yin the setx.func fullSet(x: typedesc[T]): set[T]Returns a
set[T]with all elementsfunc complement(s: set[T]): set[T]Returns a
set[T]with the elements that are not insidefunc []=(x: var set[T]; element: T; value: bool)Syntax sugar for
if value: t.incl(element) else: t.excl(element)