Libraryless. Click here for Pure Java version (2513L/16K).
static <A> A foldr_noSeed(F2<A, A, A> f, Cl<A> l) { ret foldr_noSeed((O) f, l); } static <A> A curry1Like foldr_noSeed(IF2<A, A, A> f, Cl<A> l) { ret foldr_noSeed((O) f, l); } static <A> A foldr_noSeed(O f, Cl<A> l) { Iterator<A> it = reversedIterator(asList(l)); if (!it.hasNext()) null; A a = it.next(); while (it.hasNext()) a = (A) callF(f, it.next(), a); ret a; }
Began life as a copy of #1017064
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027923 |
Snippet name: | foldr_noSeed |
Eternal ID of this version: | #1027923/4 |
Text MD5: | 14eda53db80316305ca3bee3b39b7e1d |
Transpilation MD5: | 7ed087ca3e1d69652ddc138bf84a652b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-11 21:35:28 |
Source code size: | 402 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 201 / 284 |
Version history: | 3 change(s) |
Referenced in: | [show references] |