Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1013015 // ai_texts_embeddedOp_upperCaseVars

JavaX fragment (include)

static L<SS> ai_texts_embeddedOp_upperCaseVars(S s) {
  new L<S> vars;
  S pat = upperCaseVarsToStars(s, vars);
  new L<SS> l;
  if (l(vars) != 2) ret l;
  S var1 = vars.get(0), var2 = vars.get(1);
  for (Pair<S> p : ai_texts_rel(squareBrackets(pat)))
    l.add(litmap(var1, p.a, var2, p.b));
  ret l;
}

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: #1013015
Snippet name: ai_texts_embeddedOp_upperCaseVars
Eternal ID of this version: #1013015/2
Text MD5: 70b0b2f326951c3b1022acf63da623fe
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-21 03:19:53
Source code size: 312 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 230 / 286
Version history: 1 change(s)
Referenced in: [show references]