Chaim Frenkel wrote:
> Aren't RFC 90 (zip/unzip) and RFC 148 (reshape) really the same?
>
Yes. RFC 148 can also partition (RFC 91). I've updated RFC 91 to also allow
a 3rd argument that gives a step size--I haven't checked whether reshape()
can do this. The updated RFCs 90 and 91 don't seem to have been processed
yet.

> Isn't reshaping the basic operation of interest?
>
Yes. RFC 148 is Nate's attempt at generalising RFCs 90 and 91. You can also
do all of this using generated lists as list slices (RFC 81). RFC 148 is
more complex than RFCs 90 and 91, and RFC 81 is more complex than RFC 148.
The issue is whether zip() and unzip() (now called merge() and demerge())
and partition() (now called part()) are used enough to justify giving them
their own functions. This is much like how push(), pop(), shift(), and
unshift() can all be done with just splice().

The other issue is whether RFC 148 is currently general enough--for
instance, whether it will (or should) scale to multiple dimensions
effectively.


Reply via email to