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

7
LINES

< > BotCompany Repo | #1027043 // filterLines

JavaX fragment (include)

1  
sS lambdaMapLike filterLines(IPred<S> pred, S s) {
2  
  ret lines_possiblyRTrim(s, filter(lines(s), pred));
3  
}
4  
5  
sS lambdaMapLike filterLines(S s, IPred<S> pred) {
6  
  ret filterLines(pred, s);
7  
}

Author comment

Began life as a copy of #1026679

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027043
Snippet name: filterLines
Eternal ID of this version: #1027043/1
Text MD5: 8205eb7d14bc0cdef219cb01be614758
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-13 14:56:28
Source code size: 194 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 373 / 378
Referenced in: [show references]