1 | static L<Para> numberParagraphs(L<S> paragraphs) { |
2 | new L<Para> l; |
3 | for i over paragraphs: |
4 | l.add(new Para(i+1, paragraphs.get(i))); |
5 | ret l; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005149 |
Snippet name: | numberParagraphs |
Eternal ID of this version: | #1005149/1 |
Text MD5: | b765937b14ede69f6beacac68d7e89d3 |
Author: | stefan |
Category: | javax / hot |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-17 00:39:24 |
Source code size: | 156 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 506 / 524 |
Referenced in: | [show references] |