Libraryless. Click here for Pure Java version (3206L/20K).
// returns list of (pattern, matches) static LPair<S, SS> gazelle_zipAll(S input, Collection<S> patterns, O... _) { ret mapNonNulls(patterns, pat -> { SS map = gazelle_zip(pat, input, _); ret map == null ? null : pair(pat, map); }); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023123 |
| Snippet name: | gazelle_zipAll - try all patterns, returns those that match at all |
| Eternal ID of this version: | #1023123/4 |
| Text MD5: | eadaf4401d8d93e17cde5dd5b3a5d006 |
| Transpilation MD5: | 8b2e88a1c8df2639f18c9c16bead482b |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-12-14 17:16:17 |
| Source code size: | 252 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 494 / 616 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |