static <A> L<A> repFunc(F0<A> f, int n) { L<A> l = emptyList(n); for i to n: l.add(callF(f)); ret l; }
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: | #1010153 |
Snippet name: | repFunc - call function n times, collect in list |
Eternal ID of this version: | #1010153/1 |
Text MD5: | 192a427cecd4683798817ee82893017f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-05 16:53:17 |
Source code size: | 112 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 532 |
Referenced in: | [show references] |