Libraryless. Click here for Pure Java version (4881L/27K).
1 | ifclass F1 |
2 | static <B> L<B> mapLines(S text, F1<S, B> f) { |
3 | ret mapLines(f, text); |
4 | } |
5 | |
6 | static <B> L<B> mapLines(F1<S, B> f, S text) { |
7 | ret mapLines(f1ToIF1(f), text); |
8 | } |
9 | endif |
10 | |
11 | static <B> L<B> mapLines(S text, IF1<S, B> f) { ret mapLines(f, text); } |
12 | |
13 | static <B> L<B> lambdaMapLike mapLines(IF1<S, B> f, S text) { |
14 | ret map(f, lines(text)); |
15 | } |
Began life as a copy of #1003239
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021167 |
Snippet name: | mapLines - map(lines(...)) |
Eternal ID of this version: | #1021167/5 |
Text MD5: | 24c4bf7eeaf67e0b677154a72cc01831 |
Transpilation MD5: | 9b32eca5d35599a133667bed84bd2465 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-29 07:55:36 |
Source code size: | 368 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 346 / 444 |
Version history: | 4 change(s) |
Referenced in: | [show references] |