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

7
LINES

< > BotCompany Repo | #1028592 - pwt_topDogs

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2848L/18K).

static <A> L<ParsedWithTokens<A>> pwt_topDogs(Iterable<ParsedWithTokens<A>> l) {
  new L<ParsedWithTokens<A>> topDogs;
  fOr (ParsedWithTokens<A> p : l)
    for (int i = p.iStart; i < p.iRemaining; i += 2)
      listPut(topDogs, i, pwt_winner(_get(topDogs, i), p));
  ret uniquify(nonNulls(topDogs));
}

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, 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: 44 / 92
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028592 & http://1028592.tinybrain.de