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


< > BotCompany Repo | #1007439 // lines - short for fromLines / toLines

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

Transpiled version (3110L) is out of date.

static S lines(Iterable lines) { ret fromLines(lines); }
static S lines(O[] lines) { ret fromLines(asList(lines)); }
static L<S> lines(S s) { ret toLines(s); }

// convenience map call
static <A> S lines(Iterable<A> l, IF1<A, S> f) {
  ret mapToLines(l, f);

Author comment

Began life as a copy of #1002398

download  show line numbers  debug dex  old transpilations   

Travelled to 20 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv, yanjaxplzisb

No comments. add comment

Snippet ID: #1007439
Snippet name: lines - short for fromLines / toLines
Eternal ID of this version: #1007439/10
Text MD5: 5bbc19b567f5a1382c401f69ad3aa283
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-29 15:09:59
Source code size: 266 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 939
Version history: 9 change(s)
Referenced in: [show references]