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

7
LINES

< > BotCompany Repo | #1014333 // concatFunctions_1 - call each until result is not null

JavaX fragment (include)

1  
static O concatFunctions_1(fO f, fO g) {
2  
  ret func(O a) -> O {
3  
    O x = callF(f, a);
4  
    if (x != null) ret x;
5  
    ret callF(g, a);
6  
  };
7  
}

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: #1014333
Snippet name: concatFunctions_1 - call each until result is not null
Eternal ID of this version: #1014333/2
Text MD5: 981d56526f1d57a5f9f324b1cf324b5c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 04:30:54
Source code size: 146 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 358 / 779
Version history: 1 change(s)
Referenced in: [show references]