static void web_swapLabels(Web web, S lbl1, S lbl2) { Lisp a = web.parseLabel(lbl1), b = web.parseLabel(lbl2); Map<Lisp, Lisp> transformMap = lithashmap(a, b, b, a); web_transformLabels(web, transformMap); }
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: | 370 / 394 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010010 - web_transformLabels #1010013 - web_replaceLabelsX #1010079 - web_replaceLabels |