flatten<R> method
Flattens a set of ImmortalSets by combining their values to a single set.
If this set contains only instances of ImmortalSet<R> the new set will be created correctly, otherwise an exception is thrown.
Implementation
ImmortalSet<R> flatten<R>() => cast<ImmortalSet<R>>().expand<R>(identity);