static void ai_spec_analyzeLitList(S s) { if (!startsWithAndEndsWith(s, "[", "]")) ret; L l = cast safeUnstructure_nullAndPrintShortOnError(s); if (l == null) ret; post(s, "is a list with length", l(l)); for i over l: post(structure(l.get(i)), "is element " + (i+1) + " in", s); }
Began life as a copy of #1012784
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: | #1012791 |
Snippet name: | ai_spec_analyzeLitList - post list's length and elements |
Eternal ID of this version: | #1012791/5 |
Text MD5: | db523a82b63c3141cc0f5fc94b10c1a1 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-13 15:53:23 |
Source code size: | 301 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 498 |
Version history: | 4 change(s) |
Referenced in: | [show references] |