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

11
LINES

< > BotCompany Repo | #1023585 - mapEachLine_tlft_nempties - lines_possiblyRTrim(nempties(map(tlft(...)))) [drop empty lines in output]

JavaX fragment (include)

sS mapEachLine_tlft_nempties(O f, S text) {
  ret lines_possiblyRTrim(text, nempties(mapLines_tlft(f, text)));
}

sS mapEachLine_tlft_nempties(S text, O f) {
  ret mapEachLine_tlft_nempties(f, text);
}

sS mapEachLine_tlft_nempties(S text, IF1<S> f) {
  ret mapEachLine_tlft_nempties(f, text);
}

Author comment

Began life as a copy of #1023583

download  show line numbers  debug dex   

Travelled to 3 computer(s): cfunsshuasjs, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1023585
Snippet name: mapEachLine_tlft_nempties - lines_possiblyRTrim(nempties(map(tlft(...)))) [drop empty lines in output]
Eternal ID of this version: #1023585/1
Text MD5: 9b3ae2dfe3677ae96fd4929c0817562a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-29 16:31:57
Source code size: 305 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 18 / 32
Referenced in: [show references]