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

7
LINES

< > BotCompany Repo | #1017409 // appendSquareBracketed

JavaX fragment (include)

1  
static S appendSquareBracketed(S b) {
2  
  ret empty(b) ? "" : "" + " [" + b + "]";
3  
}
4  
5  
static S appendSquareBracketed(S a, S b) {
6  
  ret empty(b) ? a : a + appendSquareBracketed(b);
7  
}

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: 381 / 405
Version history: 1 change(s)
Referenced in: [show references]