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

34
LINES

< > BotCompany Repo | #1031018 // concatMap_lists - synonym of concatMap

JavaX fragment (include)

// f must return a list
static L concatMap_lists(O f, Iterable l) {
  ret concatMap(f, l);
}



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



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



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



static <A, B, C extends Iterable<B>> L<B> concatMap_lists(Iterable<A> l, IF1<A, C> f) {
  ret concatMap(l, f);
}



static <A, B, C extends Iterable<B>> L<B> lambdaMapLike concatMap_lists(IF1<A, C> f, Iterable<A> l) {
  ret concatMap(f, l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031018
Snippet name: concatMap_lists - synonym of concatMap
Eternal ID of this version: #1031018/1
Text MD5: 8f498405518318847b8979abb5dfc207
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-22 17:50:39
Source code size: 555 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 200
Referenced in: [show references]