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

11
LINES

< > BotCompany Repo | #1011353 // webs_search_dollarXY_rel - returns L<WebRelation>

JavaX fragment (include)

static L<WebRelation> webs_search_dollarXY_rel(final Web searchWeb, Collection<Web> webs) {
  new L<Map<WebNode>> mappings;
  for (Web web : webs)
    addIfNotNull(mappings, web_matchAllPerms_x(searchWeb, web, f nodeMatch_dollarVars));
    
  ret map(mappings, func(Map<WebNode> map) {
    map = web_addRelationsToMapping(map);
    ret web_getRelation(map.get(web_findNodeOrRelation(searchWeb, "$X")),
      map.get(web_findNodeOrRelation(searchWeb, "$Y")));
  });
}

Author comment

Began life as a copy of #1010932

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: #1011353
Snippet name: webs_search_dollarXY_rel - returns L<WebRelation>
Eternal ID of this version: #1011353/4
Text MD5: 91803c941c82378115b42b4135b65add
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-25 22:12:21
Source code size: 476 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 410 / 467
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011415 - web_search_dollarXY_rel - returns L<WebRelation>