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

16
LINES

< > BotCompany Repo | #1021107 // concatMap_pcall - map_pcall, then concat lists

JavaX fragment (include)

// f must return a list
static L mapLike concatMap_pcall(O f, Iterable l) {
  ret concatLists(map_pcall(f, l));
}

static L concatMap_pcall(Iterable l, O f) {
  ret concatMap_pcall(f, l);
}

static L concatMap_pcall(O f, O[] l) {
  ret concatLists(map_pcall(f, l));
}

static L concatMap_pcall(O[] l, O f) {
  ret concatMap_pcall(f, l);
}

Author comment

Began life as a copy of #1005492

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021107
Snippet name: concatMap_pcall - map_pcall, then concat lists
Eternal ID of this version: #1021107/1
Text MD5: 4a6594cf30ee2d4a6ba3e43d21f304ce
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-22 17:40:02
Source code size: 353 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 321 / 317
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)