1 | // f must return a list |
2 | static L concatMap_lists(O f, Iterable l) { |
3 | ret concatMap(f, l); |
4 | } |
5 | |
6 | |
7 | |
8 | static L concatMap_lists(Iterable l, O f) { |
9 | ret concatMap(l, f); |
10 | } |
11 | |
12 | |
13 | |
14 | static L concatMap_lists(O f, O[] l) { |
15 | ret concatMap(f, l); |
16 | } |
17 | |
18 | |
19 | |
20 | static L concatMap_lists(O[] l, O f) { |
21 | ret concatMap(l, f); |
22 | } |
23 | |
24 | |
25 | |
26 | static <A, B, C extends Iterable<B>> L<B> concatMap_lists(Iterable<A> l, IF1<A, C> f) { |
27 | ret concatMap(l, f); |
28 | } |
29 | |
30 | |
31 | |
32 | static <A, B, C extends Iterable<B>> L<B> lambdaMapLike concatMap_lists(IF1<A, C> f, Iterable<A> l) { |
33 | ret concatMap(f, l); |
34 | } |
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: | 167 / 203 |
Referenced in: | [show references] |