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

7
LINES

< > BotCompany Repo | #1017409 // appendSquareBracketed

JavaX fragment (include)

static S appendSquareBracketed(S b) {
  ret empty(b) ? "" : "" + " [" + b + "]";
}

static S appendSquareBracketed(S a, S b) {
  ret empty(b) ? a : a + appendSquareBracketed(b);
}

Author comment

Began life as a copy of #1014086

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017409
Snippet name: appendSquareBracketed
Eternal ID of this version: #1017409/2
Text MD5: ba5ca519ca914d282c02c1e87bbd4d12
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-14 13:57:36
Source code size: 185 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 474
Version history: 1 change(s)
Referenced in: [show references]