Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1018786 // intsToSize2Ranges

JavaX fragment (include)

static L<IntRange> intsToSize2Ranges(L<Int> l) {
  ret map(l, func(int i) -> IntRange { intRange(i, i+2) });
}

Author comment

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: 304 / 334
Referenced in: [show references]