1 | static O callAndMake_plusMap(S f, O... args) {
|
2 | new Matches m; |
3 | if (startsWith(f, "map ", m) && l(args) == 1) {
|
4 | fS f2 = m.rest(); |
5 | ret map(func(O o) -> O { callAndMake(f2, o) }, (Iterable) first(args));
|
6 | } |
7 | ret callAndMake(f, args); |
8 | } |
Began life as a copy of #1017539
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: | #1017540 |
| Snippet name: | callAndMake_plusMap - callAndMake + "map <functionName>" |
| Eternal ID of this version: | #1017540/2 |
| Text MD5: | ce9955c7ab1a8603523627fb772af931 |
| 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:13:26 |
| Source code size: | 252 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 526 / 585 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |