1 | static L<Lisp> sortByArgumentHygiene(L<Lisp> l) {
|
2 | new IdentityHashMap<Lisp, Int> scores; |
3 | for (Lisp x : l) |
4 | scores.put(x, lisp_roundBracketHygieneScore(x)); |
5 | ret sortByDescScore(l, scores); |
6 | } |
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: | 731 / 762 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |