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

5
LINES

< > BotCompany Repo | #1010008 // web_swapLabels

JavaX fragment (include)

1  
static void web_swapLabels(Web web, S lbl1, S lbl2) {
2  
  Lisp a = web.parseLabel(lbl1), b = web.parseLabel(lbl2);
3  
  Map<Lisp, Lisp> transformMap = lithashmap(a, b, b, a);
4  
  web_transformLabels(web, transformMap);
5  
}

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: #1010008
Snippet name: web_swapLabels
Eternal ID of this version: #1010008/1
Text MD5: c5551c657f879a2c000c5c5580d4c1c4
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-28 20:39:39
Source code size: 217 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 369 / 394
Referenced in: [show references]