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

12
LINES

< > BotCompany Repo | #1017202 // parsing_checkMatchPairUsingMechList

JavaX fragment (include)

// p = pair("<category>", "word")
sbool parsing_checkMatchPairUsingMechList(Pair<S> p) {
  if (!isAngleBracketed(p.a)) false;
  Set<S> lists = ai_mechListNamesForAngleBracketCategory(p.a);
  //print(+listName);
  for (S listName : lists) {
    Set<S> entries = mechSetCI(listName);
    //print("Found " + n2(entries, "entry", "entries") + " for " + listName);
    if (contains(entries, p.b)) true;
  }
  false;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017202
Snippet name: parsing_checkMatchPairUsingMechList
Eternal ID of this version: #1017202/7
Text MD5: 371147fc5b7619788a2641f51289d909
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-16 15:28:49
Source code size: 425 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 248 / 296
Version history: 6 change(s)
Referenced in: [show references]