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

4
LINES

< > BotCompany Repo | #1018112 // allTokSplits_nOnRight_iterator

JavaX fragment (include)

static IterableIterator<Pair<LS>> allTokSplits_nOnRight_iterator(final LS tok) {
  ret mapIterator(countIterator_exclusive_step(2, l(tok)-2, 2),
    func(int i) { pair(subList(tok, 0, i), subList(tok, i)) });
}

Author comment

Began life as a copy of #1018111

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: #1018112
Snippet name: allTokSplits_nOnRight_iterator
Eternal ID of this version: #1018112/1
Text MD5: d01f3d61485cad6d3da58c83ce84740d
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:54:33
Source code size: 213 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 317 / 361
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018120 - allTokSplits_nOnLeft_iterator