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

8
LINES

< > BotCompany Repo | #1017539 // callF_plusMap - callF + "map <functionName>"

JavaX fragment (include)

1  
static O callF_plusMap(O f, O... args) {
2  
  if (f instanceof S) {
3  
    new Matches m;
4  
    if (startsWith(f, "map ", m) && l(args) == 1)
5  
      ret map(m.rest(), (Iterable) first(args));
6  
  }
7  
  ret callF(f, args);
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017539
Snippet name: callF_plusMap - callF + "map <functionName>"
Eternal ID of this version: #1017539/1
Text MD5: 0795fd713fea58effafff733476ddaf4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-26 14:11:34
Source code size: 217 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 326 / 372
Referenced in: [show references]