Transpiled version (44L) is out of date.
sS stringFromRepF(IF0<Char> f, int n) { char[] buf = new char[n]; for i to n: buf[i] = f!; ret str(buf); } sS stringFromRepF(int n, IF0<Char> f) { ret stringFromRepF(f, n); }
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: | #1028497 |
| Snippet name: | stringFromRepF - make string from repeatedly calling function yielding a char |
| Eternal ID of this version: | #1028497/3 |
| Text MD5: | 5bf5e53f76ab5824d9a1276cc262bdb4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-01-26 11:55:57 |
| Source code size: | 192 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 416 / 570 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |