Author rhettinger
Recipients ezio.melotti, jstasiak, python-dev, rhettinger, serhiy.storchaka, techtonik, terry.reedy
Date 2013-09-08.19:36:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378668998.91.0.548064166447.issue17862@psf.upfronthosting.co.za>
In-reply-to
Content
If this is to go forward, it needs to be more interesting, useful, and general than what was has been discussed so far.  I would be open to some kind of reshape() itertool than can ungroup, flatten, and regroup in at least two dimensions.  

Ideally, it should be inspired by a successful general-purpose tool from another functional or data manipulation language (perhaps APL, Mathematica, Matlab, Numpy, or somesuch).

Ideally, the proposal will be accompanied by some non-trivial real-world use cases to help validate the design.

Ideally, there should be demonstrations of reshape() interacting effectively with the other itertools (i.e. a criterion for adding new Lego bricks is whether they work well with all the existing Lego bricks -- that is what makes a good Lego set).
History
Date User Action Args
2013-09-08 19:36:38rhettingersetrecipients: + rhettinger, terry.reedy, techtonik, ezio.melotti, python-dev, serhiy.storchaka, jstasiak
2013-09-08 19:36:38rhettingersetmessageid: <1378668998.91.0.548064166447.issue17862@psf.upfronthosting.co.za>
2013-09-08 19:36:38rhettingerlinkissue17862 messages
2013-09-08 19:36:38rhettingercreate