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)

static <A> L<A> takeFirstCyclic(int n, L<A> l) {
  ret takeFirstOfCyclicList(n, l);
}

static <A> L<A> takeFirstCyclic(L<A> l, int n) {
  ret takeFirstCyclic(n, l);
}

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: 171 / 198
Version history: 1 change(s)
Referenced in: [show references]