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.

sS repS(S s, int n) {
  ret repeatString(s, n);
}

static <A> S repS(IF0<A> f, int n) {
  ret join(repF(f, n));
}

sS repS(int n, S s) {
  ret repS(s, n);
}

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: 106 / 179
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030949 - Transpiler output of #1031393