Libraryless. Click here for Pure Java version (1705L/11K).
1 | // functions: L<F1> |
2 | static L<Map> map_multi_asMaps(Collection functions, Iterable c) {
|
3 | new L<Map> out; |
4 | fOr (O a : c) {
|
5 | new Map row; |
6 | fOr (O f : functions) |
7 | row.put(f, callF(f, a)); |
8 | out.add(row); |
9 | } |
10 | ret out; |
11 | } |
Began life as a copy of #1024084
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024086 |
| Snippet name: | map_multi_asMaps - call multiple functions on a list. rows are maps with function as key |
| Eternal ID of this version: | #1024086/1 |
| Text MD5: | f71e9f8074d09bca2016d9e5d04f25f7 |
| Transpilation MD5: | 1e25fa648e4f502a5a15b8c5b6e1690b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-20 14:57:40 |
| Source code size: | 241 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 377 / 504 |
| Referenced in: | [show references] |