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

47
LINES

< > BotCompany Repo | #1014728 // countTo

JavaX fragment (include)

1  
static ItIt<Int> countTo(int a default 0, int b) {
2  
  ret countIterator(a, b);
3  
}
4  
5  
6  
7  
8  
9  
static <A> ItIt<A> countTo(int a default 0, int b, IF1<Int, A> f) {
10  
  ret countIterator(a, b, f);
11  
}
12  
13  
14  
15  
static ItIt<Int> countTo(int a, int b, int step) {
16  
  ret countIterator(a, b, step);
17  
}
18  
19  
20  
21  
static <A> ItIt<A> countTo(double a, double b, double step, IF1<Double, A> f) {
22  
  ret countIterator(a, b, step, f);
23  
}
24  
25  
26  
27  
static <A> ItIt<Double> countTo(double a, double b, double step) {
28  
  ret countIterator(a, b, step);
29  
}
30  
31  
32  
33  
static <A> ItIt<A> lambdaMapLike countTo(IF1<Double, A> f, double a, double b, double step) {
34  
  ret countIterator(f, a, b, step);
35  
}
36  
37  
38  
39  
static <A> ItIt<A> countTo(IF1<Int, A> f, int a default 0, int b) {
40  
  ret countIterator(f, a, b);
41  
}
42  
43  
44  
45  
static <A> ItIt<Int> countTo(L l) {
46  
  ret countIterator(l);
47  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014728
Snippet name: countTo
Eternal ID of this version: #1014728/2
Text MD5: e79cdbac7189f9b00777999e6b5c9715
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-01 23:16:59
Source code size: 818 bytes / 47 lines
Pitched / IR pitched: No / No
Views / Downloads: 510 / 545
Version history: 1 change(s)
Referenced in: [show references]