renamed default special HOF parameter "item" to "value"

pull/89/head
jmoenig 2019-11-02 17:19:09 +01:00
rodzic a6346c3f97
commit 965f4bf587
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
## in development:
* **New Features:**
* expanding the rings in "map", "keep" and "find" shows 3 inputs named "item", "idx" and "data"
* expanding the rings in "map", "keep" and "find" shows 3 inputs named "value", "index" and "list"
* limited expanding rings in special HOFs to 3 parameters
* calling an empty reporter-ring with no formal parameters passing a single argument treats it as the identity function of that argument
* **Notable Changes:**
@ -13,10 +13,11 @@
### 2019-11-02
* blocks: limit expanding rings in special HOFs to 3 parameters
* blocks renamed default special HOF parameters to "item, index, list"
* blocks: renamed default special HOF parameters to "item, index, list"
* updated German translation
* blocks: dropping a ring parameter inside a reporter-ring no longer replaces the ring
* threads: calling an empty reporter-ring with no formal parameters passing a single argument treats it as the identity function of that argument
* blocks: renamed default special HOF parameter "item" to "value"
### 2019-11-01
* new dev version

Wyświetl plik

@ -11078,7 +11078,7 @@ MultiArgMorph.prototype.addInput = function (contents) {
} else if (contains(['%parms', '%ringparms'], this.elementSpec)) {
if (this.is3ArgRingInHOF() && idx < 4) {
newPart.setContents([
localize('item'),
localize('value'),
localize('index'),
localize('list')
][idx - 1]);