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

11
LINES

< > BotCompany Repo | #1010834 // ai_renderNodesList

JavaX fragment (include)

1  
static S ai_renderNodesList(L<WebNode> l) {
2  
  ret ai_renderNodesList(l, "-");
3  
}
4  
5  
static S ai_renderNodesList(L<WebNode> l, S defaultText) {
6  
  ret empty(l) ? defaultText : joinWithComma(map web_text(l));
7  
}
8  
9  
static S ai_renderNodesList(L<WebNode> l, S defaultText, S joiner) {
10  
  ret empty(l) ? defaultText : join(joiner, map web_text(l));
11  
}

Author comment

Began life as a copy of #1010833

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010834
Snippet name: ai_renderNodesList
Eternal ID of this version: #1010834/3
Text MD5: 0c1e914175fcff2731a3a7a45a4528f2
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-01 05:27:13
Source code size: 348 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 461 / 475
Version history: 2 change(s)
Referenced in: [show references]