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


< > BotCompany Repo | #1002635 - rep - synonym of repeat

JavaX fragment (include)

static String rep(int n, char c) {
  ret repeat(c, n);

static String rep(char c, int n) {
  ret repeat(c, n);

static <A> L<A> rep(A a, int n) {
  ret repeat(a, n);

static <A> L<A> rep(int n, A a) {
  ret repeat(n, a);

Author comment

Began life as a copy of #1002222

download  show line numbers  debug dex   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, odhhsrjjbcgr, podlckwnjdmb, tslmcundralx, tvejysmllsmz, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1002635
Snippet name: rep - synonym of repeat
Eternal ID of this version: #1002635/3
Text MD5: c47e64ed58cd0d7ba2a2261dfe23dd9f
Author: stefan
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-13 17:23:43
Source code size: 244 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 408 / 865
Version history: 2 change(s)
Referenced in: [show references]

Formerly at &