1 | static LPair<LS> allTokSplits_nOnRight(LS tok) { |
2 | LPair<LS> out = new L; |
3 | for (int i = 2; i+2 < l(tok); i += 2) |
4 | addPair(out, subList(tok, 0, i), subList(tok, i)); |
5 | ret out; |
6 | } |
Began life as a copy of #1017804
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018105 |
Snippet name: | allTokSplits_nOnRight - puts splitting N token in the second list |
Eternal ID of this version: | #1018105/2 |
Text MD5: | cf7afe39355dcbe36b1fadfb1757bbea |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-02 13:14:33 |
Source code size: | 186 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 324 / 351 |
Version history: | 1 change(s) |
Referenced in: | [show references] |