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

7
LINES

< > BotCompany Repo | #1005114 // paragraphs - load system's / user's paragraphs. also makes paragraphs (joins with new lines)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2974L/17K).

1  
static L<S> paragraphs(S text) {
2  
  ret paragraphsFromText(text);
3  
}
4  
5  
sS paragraphs(Iterable<S> l) {
6  
  ret joinWithEmptyLines(l); // joinNemptiesWithEmptyLines?
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005114
Snippet name: paragraphs - load system's / user's paragraphs. also makes paragraphs (joins with new lines)
Eternal ID of this version: #1005114/5
Text MD5: 60ddca02c5f245a157ff84f0984e26e8
Transpilation MD5: f7a720172ae34dd6dd9858ec78123d0b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-22 07:34:40
Source code size: 166 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 579 / 622
Version history: 4 change(s)
Referenced in: [show references]