Post

Replies

Boosts

Views

Activity

Comment on Generates all possible subsets of a given set, excluding the empty set. (non sorted)
Hello Claude long time not see you hope you doing well man 😄. thanks for replying btw if we change the return to Set we are facing to re-do all logic for other's functions because once It gets called here var allSubsets = generateSubsets(initialSet: mergedSet) allSubsets.insert([FeatureStatus.default.rawValue]) return sort(status: status, keys: allSubsets) the sort function expects keys as private static func sort(status: FeatureStatus, keys: Set<Set>) -> [Set] {
Mar ’24