static int parseQuality(Lisp l) { if (l.isLeaf()) ret isInteger(l.head) || possibleGlobalID(l.head) ? 0 : -1; int n = 0; for (Lisp x : l) n += parseQuality(x); ret n; }
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: | #1008338 |
| Snippet name: | parseQuality - ratio of concept IDs to other words |
| Eternal ID of this version: | #1008338/1 |
| Text MD5: | 0da6e83d3fa932e84653df6abcf32751 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-08 01:06:37 |
| Source code size: | 191 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 666 / 701 |
| Referenced in: | [show references] |