kopia lustrzana https://github.com/backface/turtlestitch
made HOF primitives hidable
rodzic
f86c0c7bdd
commit
3112547f73
|
@ -79,6 +79,7 @@
|
|||
* Objects, Blocks: added pen attribute reporter
|
||||
* Objects: added "write" command to Pen category (same as "label" from tools
|
||||
* Objects: added "map" and "for each" primitives to List category
|
||||
* Objects: made HOF primitives hidable
|
||||
|
||||
### 2019-04-08
|
||||
* Blocks, Objects, Threads: new "getSoundAttribute" reporter primitive
|
||||
|
|
|
@ -1264,15 +1264,13 @@ SpriteMorph.prototype.initBlocks = function () {
|
|||
defaults: [1, null, localize('thing')]
|
||||
},
|
||||
|
||||
// HOFs - experimental
|
||||
// HOFs
|
||||
reportMap: {
|
||||
dev: true,
|
||||
type: 'reporter',
|
||||
category: 'lists',
|
||||
spec: 'map %repRing over %l'
|
||||
},
|
||||
doForEach: {
|
||||
dev: true,
|
||||
type: 'command',
|
||||
category: 'lists',
|
||||
spec: 'for each %upvar in %l %cla',
|
||||
|
@ -2592,6 +2590,8 @@ SpriteMorph.prototype.freshPalette = function (category) {
|
|||
'reportCDR',
|
||||
'reportListLength',
|
||||
'reportListContainsItem',
|
||||
'doForEach',
|
||||
'reportMap',
|
||||
'doAddToList',
|
||||
'doDeleteFromList',
|
||||
'doInsertInList',
|
||||
|
|
Ładowanie…
Reference in New Issue