Libraryless. Click here for Pure Java version (2848L/18K).
1 | static <A> L<ParsedWithTokens<A>> pwt_topDogs(Iterable<ParsedWithTokens<A>> l) {
|
2 | new L<ParsedWithTokens<A>> topDogs; |
3 | fOr (ParsedWithTokens<A> p : l) |
4 | for (int i = p.iStart; i < p.iRemaining; i += 2) |
5 | listPut(topDogs, i, pwt_winner(_get(topDogs, i), p)); |
6 | ret uniquify(nonNulls(topDogs)); |
7 | } |
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: | #1028592 |
| Snippet name: | pwt_topDogs |
| Eternal ID of this version: | #1028592/4 |
| Text MD5: | 49d6651cbf667ef0f0523d1722966299 |
| Transpilation MD5: | 41f9dd2e4b42eca28f244b11ad5fdf4e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-28 00:43:08 |
| Source code size: | 308 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 456 / 622 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |