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)

static O concatFunctions_1(fO f, fO g) {
  ret func(O a) -> O {
    O x = callF(f, a);
    if (x != null) ret x;
    ret callF(g, a);
  };
}

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: 274 / 694
Version history: 1 change(s)
Referenced in: [show references]