transitiveClosure_old

fun <T> Set<T>.transitiveClosure_old(function: (T) -> Set<T>): Set<T>