static S textOut_or_orAll_curly(L<S> l) { if (l(l) > 2) l = listPlus(l, "all of these"); else if (l(l) == 2) l = listPlus(l, "both"); ret textOut_or_curly(l); }
Began life as a copy of #1017500
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: | #1017502 |
| Snippet name: | textOut_or_orAll_curly - join strings as "a, b or c or all of these" with curly brackets |
| Eternal ID of this version: | #1017502/1 |
| Text MD5: | 0ceb5d1cbb53a21665db83fe26e83574 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-24 01:39:48 |
| Source code size: | 170 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 529 / 566 |
| Referenced in: | [show references] |