Libraryless. Click here for Pure Java version (4768L/27K).
1 | static <A, B> L<ParsedWithTokens<B>> lambdaMapLike pwt_transform(IF1<A, B> f, Iterable<ParsedWithTokens<A>> l) { |
2 | ret mapNonNulls(p -> { |
3 | B b = f.get(p!); |
4 | ret b == null ?: p.withValue(b); |
5 | }, l); |
6 | } |
Began life as a copy of #1028572
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: | #1028594 |
Snippet name: | pwt_transform - mapNonNulls for PWT, just copies the parsing information |
Eternal ID of this version: | #1028594/9 |
Text MD5: | d63cc0e2d7f722094c66f6f24deacc30 |
Transpilation MD5: | e33bdbdc18f9a2af16a060f0f22a1987 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-15 00:41:33 |
Source code size: | 211 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 256 / 393 |
Version history: | 8 change(s) |
Referenced in: | [show references] |