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

10
LINES

< > BotCompany Repo | #1004237 // callAll - call a list of runnables/functions, return values. should use callFAll instead

JavaX fragment (include)

static L callAll(L l) {
  L out = emptyList(l);
  for (O o : unnull(l)) {
    out.add(call(o));
    ifdef callAll_verbose
    print("l(out)=" + l(out));
    endifdef
  }
  ret out;
}

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: #1004237
Snippet name: callAll - call a list of runnables/functions, return values. should use callFAll instead
Eternal ID of this version: #1004237/7
Text MD5: db6c386d591a8cbd05d302f5715abaf9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-02 12:35:26
Source code size: 191 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 563 / 569
Version history: 6 change(s)
Referenced in: [show references]