# NOT RUN {
# simplify = FALSE is default
powerset(Set$new(1, 2))
powerset(Set$new(1, 2), simplify = TRUE)
# powerset of intervals
powerset(Interval$new())
# powerset of powersets
powerset(powerset(Reals$new()))
powerset(powerset(Reals$new()))$properties$cardinality
# }
Run the code above in your browser using DataLab