static L<Pair<S>> ai_texts_dollarXY(S a, S b, S c) { if (isDollarVar(b)) todo(); new L<Pair<S>> l; if (eq(a, "$X") && eq(c, "$Y")) { for (WebRelation r : indexedRelations(b)) l.add(pair(web_text(r.a), web_text(r.b))); ret l; } if (eq(a, "$Y") && eq(c, "$X")) { for (WebRelation r : indexedRelations(b)) l.add(pair(web_text(r.b), web_text(r.a))); ret l; } fail("improper arguments: " + a + "/" + b + "/" + c); }
Began life as a copy of #1011892
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: | #1012112 |
Snippet name: | ai_texts_dollarXY |
Eternal ID of this version: | #1012112/3 |
Text MD5: | 01bbc595f1d7eb8f6a7d76947ba2890b |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-20 09:12:53 |
Source code size: | 466 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 442 / 490 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1012113 - ai_texts_xy - synonym of ai_texts_dollarXY #1012144 - ai_texts_dollarAny #1012617 - ai_texts_verified_dollarXY |