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

21
LINES

< > BotCompany Repo | #1036494 // fold - synonym of foldl_noSeed

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

Transpiled version (9980L) is out of date.

1  
static <A> A fold(F2<A, A, A> f, Iterable<A> l) {
2  
  ret foldl_noSeed(f, l);
3  
}
4  
5  
6  
7  
static <A> A lambda2Like fold(IF2<A, A, A> f, Iterable<A> l) {
8  
  ret foldl_noSeed(f, l);
9  
}
10  
11  
12  
13  
static <A> A fold(IF2<A, A, A> f, A... l) {
14  
  ret foldl_noSeed(f, l);
15  
}
16  
17  
18  
19  
static <A> A fold(O f, Iterable<A> l) {
20  
  ret foldl_noSeed(f, l);
21  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036494
Snippet name: fold - synonym of foldl_noSeed
Eternal ID of this version: #1036494/3
Text MD5: 0ccefa6e42a1bb8132695ae93ce49717
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-20 22:16:21
Source code size: 337 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 145 / 194
Version history: 2 change(s)
Referenced in: [show references]