1 | static int lisp_roundBracketHygieneScore(Lisp l) { |
2 | if (l == null) ret 0; |
3 | int score = 0; |
4 | for (Lisp arg : l) |
5 | if (arg.isLeaf() && !hasRoundBracketHygiene(arg.unq())) |
6 | --score; |
7 | ret score; |
8 | } |
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: | #1007982 |
Snippet name: | lisp_roundBracketHygieneScore |
Eternal ID of this version: | #1007982/2 |
Text MD5: | e4da409d62246808c03290eba70f61ff |
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-25 01:39:04 |
Source code size: | 209 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 486 / 504 |
Version history: | 1 change(s) |
Referenced in: | [show references] |