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

8
LINES

< > BotCompany Repo | #1014084 // applyUntilEq

JavaX fragment (include)

static O applyUntilEq(O f, O o) {
  while licensed {
    O o2 = callF(f, o);
    if (eq(o, o2)) break;
    o = o2;
  }
  ret o;
}

Author comment

Began life as a copy of #1014060

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: #1014084
Snippet name: applyUntilEq
Eternal ID of this version: #1014084/1
Text MD5: 0bc4e4557a536aa7a8f2ed142ee43499
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-28 22:35:28
Source code size: 136 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 398
Referenced in: [show references]