1 | static L<Pair<S>> ai_texts_verified_dollarXY(S a, S b, S c) { |
2 | if (isDollarVar(b)) todo(); |
3 | new L<Pair<S>> l; |
4 | if (eq(a, "$X") && eq(c, "$Y")) { |
5 | for (WebRelation r : indexedRelations_verified(b)) |
6 | l.add(pair(web_text(r.a), web_text(r.b))); |
7 | ret l; |
8 | } |
9 | if (eq(a, "$Y") && eq(c, "$X")) { |
10 | for (WebRelation r : indexedRelations_verified(b)) |
11 | l.add(pair(web_text(r.b), web_text(r.a))); |
12 | ret l; |
13 | } |
14 | fail("improper arguments: " + a + "/" + b + "/" + c); |
15 | } |
Began life as a copy of #1012112
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: | #1012617 |
Snippet name: | ai_texts_verified_dollarXY |
Eternal ID of this version: | #1012617/1 |
Text MD5: | 0321fb2e2ee81adf8b00b675de90e256 |
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-08 13:21:40 |
Source code size: | 493 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 370 / 415 |
Referenced in: | [show references] |