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

9
LINES

< > BotCompany Repo | #1003834 // gOneAssoc

JavaX fragment (include)

static O gOneAssoc() {
  ret func {
    L<S> log = genLog();
    for (int i = l(log)-2; i >= 0; i--)
      if (eqic(log.get(i), last(log)))
        ret log.get(i+1);
    null;
  };
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003834
Snippet name: gOneAssoc
Eternal ID of this version: #1003834/1
Text MD5: 61aea87128dfc34015eb60b28059b55c
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-28 14:28:32
Source code size: 190 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 619 / 636
Referenced in: [show references]