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

7
LINES

< > BotCompany Repo | #1030684 // takeFirstCyclic - synonym of takeFirstOfCyclicList

JavaX fragment (include)

1  
static <A> L<A> takeFirstCyclic(int n, L<A> l) {
2  
  ret takeFirstOfCyclicList(n, l);
3  
}
4  
5  
static <A> L<A> takeFirstCyclic(L<A> l, int n) {
6  
  ret takeFirstCyclic(n, l);
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030684
Snippet name: takeFirstCyclic - synonym of takeFirstOfCyclicList
Eternal ID of this version: #1030684/2
Text MD5: 0cae4a73aa2078775d85a67accf98433
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-04 13:20:40
Source code size: 166 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 173 / 201
Version history: 1 change(s)
Referenced in: [show references]