voddan
07/03/2017, 3:45 PMchunked and windowed functions.
While most of the proposal looks very solid, the pairwise is a bit controversial. It has two major problems:
1) The naming is ambiguous since the word "pairwise" may generally be used for 3 different things. More other, the proposal uses one of its rarer meanings.
2) It is unclear why there is a need for a separate function which does the work of windowed(size = 2, step = 1). In addition, if a change to make step = 1 the default is adopted, that alternative changes to a short windowed(2), which makes pairwise even less competitive.
In short, adding pairwise does not seem to add a lot of value while creating an ambiguity. I believe we should exclude pairwise at least from 1.2 to see if there is as mach demand as expected.
Here is the KEEP-11 discussion https://github.com/Kotlin/KEEP/issues/11