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

6
LINES

< > BotCompany Repo | #1007979 // sortByArgumentHygiene - sort Lisp parses by round bracket hygiene

JavaX fragment (include)

static L<Lisp> sortByArgumentHygiene(L<Lisp> l) {
  new IdentityHashMap<Lisp, Int> scores;
  for (Lisp x : l)
    scores.put(x, lisp_roundBracketHygieneScore(x));
  ret sortByDescScore(l, scores);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007979
Snippet name: sortByArgumentHygiene - sort Lisp parses by round bracket hygiene
Eternal ID of this version: #1007979/2
Text MD5: 5ed9c80206e4978c38a24548e2df4f93
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-18 01:21:21
Source code size: 203 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 402
Version history: 1 change(s)
Referenced in: [show references]