Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1018107 // allTokSplits_dropN - drops splitting N token; results are not actual CNC

JavaX fragment (include)

static LPair<LS> allTokSplits_dropN(LS tok) {
  LPair<LS> out = new L;
  for (int i = 2; i+2 < l(tok); i += 2)
    addPair(out, subList(tok, 0, i), subList(tok, i+1));
  ret out;
}

Author comment

Began life as a copy of #1018105

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: #1018107
Snippet name: allTokSplits_dropN - drops splitting N token; results are not actual CNC
Eternal ID of this version: #1018107/4
Text MD5: 049021fee419c2041954c4c2da3d87cb
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:40:50
Source code size: 185 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 292
Version history: 3 change(s)
Referenced in: [show references]