1 | static L<IntRange> intsToSize2Ranges(L<Int> l) { |
2 | ret map(l, func(int i) -> IntRange { intRange(i, i+2) }); |
3 | } |
Began life as a copy of #1018785
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018786 |
Snippet name: | intsToSize2Ranges |
Eternal ID of this version: | #1018786/1 |
Text MD5: | 2bd7841cfc19d065e117742b397b7821 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-13 18:29:07 |
Source code size: | 112 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 306 / 337 |
Referenced in: | [show references] |