powerset

fun <T> Collection<T>.powerset(): Set<Set<T>>