// f : L -> L or L -> void static L xtok_recurse(O f, L l) { l = or((L) callF(f, l), l); for (int i = 1; i < l(l); i += 2) { O o = l.get(i); if (o instanceof L) l.set(i, xtok_recurse(f, (L) o)); } ret l; }
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: | #1008802 |
Snippet name: | xtok_recurse |
Eternal ID of this version: | #1008802/4 |
Text MD5: | 6fac129f81835920a6c369c0167b07d4 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-09 02:47:10 |
Source code size: | 236 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 526 / 576 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008804 - xtok_recurse_limited |