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

7
LINES

< > BotCompany Repo | #1034479 // iterateWithIndex - starting at 0

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Compilation Failed (5121L/28K).

1  
static <A> ItIt<Pair<Int, A>> iterateWithIndex(Iterable<A> l) {
2  
  ret iterateListWithIndex(l);
3  
}
4  
5  
static <A> ItIt<Pair<Int, A>> iterateWithIndex(A[] l) {
6  
  ret iterateWithIndex(asVirtualList(l));
7  
}

Author comment

Began life as a copy of #1030452

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034479
Snippet name: iterateWithIndex - starting at 0
Eternal ID of this version: #1034479/1
Text MD5: 989d70b246c8efa5becdea31fc2fa57a
Transpilation MD5: df11985ceb1a32522ade233f982cac25
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-08 05:32:04
Source code size: 203 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 220
Referenced in: [show references]