1 | static L<S> mapReplaceVars(final S pat, Iterable<SS> maps) {
|
2 | ret map(func(SS map) -> S { replaceVars(pat, map) }, maps);
|
3 | } |
4 | |
5 | static L<L<S>> mapReplaceVars(L<L<S>> patterns, final SS map) {
|
6 | ret map(func(L<S> pat) -> LS { replaceVars(pat, map) }, patterns);
|
7 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004303 |
| Snippet name: | mapReplaceVars - takes multiple patterns (only L<L<S>> though) OR multiple mappings |
| Eternal ID of this version: | #1004303/4 |
| Text MD5: | 6727b4ac300707af0392f30c3b04d723 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-27 12:53:03 |
| Source code size: | 266 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 709 / 744 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |