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

8
LINES

< > BotCompany Repo | #1014084 // applyUntilEq

JavaX fragment (include)

1  
static O applyUntilEq(O f, O o) {
2  
  while licensed {
3  
    O o2 = callF(f, o);
4  
    if (eq(o, o2)) break;
5  
    o = o2;
6  
  }
7  
  ret o;
8  
}

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: 459 / 469
Referenced in: [show references]