1 | static S textOut_or_orAll_curly(L<S> l) {
|
2 | if (l(l) > 2) l = listPlus(l, "all of these"); |
3 | else if (l(l) == 2) l = listPlus(l, "both"); |
4 | ret textOut_or_curly(l); |
5 | } |
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: | 531 / 570 |
| Referenced in: | [show references] |