http://www.perlmonks.org?node_id=451830


in reply to Re^4: Generating powerset with progressive ordering
in thread Generating powerset with progressive ordering

That does simplify it, but it throws off the progressive ordering, which worked out almost magically the way I had it written. For the problem L~R was looking to solve, it was not useful to consider the empty set, either. Probably I should rename the function "non-empty powerset". :-)

++ for technical merit.


Caution: Contents may have been coded under pressure.