in reply to Re^2: Subsets and adjacent values
in thread Subsets and adjacent values

I personally believe all this is evident and obvious, but... I can't understand why you're telling me! I knew. Still stands the point I tried to make to the OP: namely, that he should carefully choose the frameset for the problem. He reasoned in terms of sets: that these are "implemented" (please bear with me being slightly sloppy wrt terminology) with lists in the referenced module was considered a side effect to be used afterwards, which suggested him an overkill of an algorithm, while if he had resoned in terms of lists in the first place, he would have probably chosen a saner one to start with.

--
If you can't understand the incipit, then please check the IPB Campaign.

Replies are listed 'Best First'.
Re^4: Subsets and adjacent values
by pc88mxer (Vicar) on May 31, 2008 at 17:48 UTC
    Sorry, by placing my reply under your node I didn't mean to imply that you were confused. It just seemed like a good opportunity to bring up the fact that powerset() can be used for either sequences or sets.