// f : S -> S static void web_modifyTexts(WebNode node, O f) { L<Lisp> labels = node.labels(); for (int i = 0; i < l(node.labels); i++) { S s = node.web.unparseLabel(labels.get(i)); S s2 = (S) callF(f, s); if (neq(s, s2)) node.setLabel(i, node.web.parseLabel(s2)); } }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010864 |
| Snippet name: | web_modifyTexts |
| Eternal ID of this version: | #1010864/3 |
| Text MD5: | 8061734f43039ce731a40dcf2ea69bb0 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-02 03:26:52 |
| Source code size: | 301 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 633 / 666 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |