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

11
LINES

< > BotCompany Repo | #1031087 // repS - extended synonym of repeatString

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

Transpiled version (2850L) is out of date.

1  
sS repS(S s, int n) {
2  
  ret repeatString(s, n);
3  
}
4  
5  
static <A> S repS(IF0<A> f, int n) {
6  
  ret join(repF(f, n));
7  
}
8  
9  
sS repS(int n, S s) {
10  
  ret repS(s, n);
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031087
Snippet name: repS - extended synonym of repeatString
Eternal ID of this version: #1031087/4
Text MD5: fa6faf173addc1eb8f713b47bfc3fce8
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-31 17:05:22
Source code size: 162 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 282
Version history: 3 change(s)
Referenced in: [show references]