sS switcheroo_nameToI(S name, S s) { SS map = combinedMechMapForCurrentLanguages_inOrder("Switcheroo I -> $name"); map = mapValues(map, x -> replaceIC(x, "$name", name)); ret translateUsingWordTree(s, mapToWordTree(reverseCIMap_noOverwrite(map))); }
Began life as a copy of #1023167
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023186 |
Snippet name: | switcheroo_nameToI |
Eternal ID of this version: | #1023186/5 |
Text MD5: | e37685fd6e3a30578493d58779665457 |
Author: | stefan |
Category: | nl |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-24 19:42:30 |
Source code size: | 259 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 277 / 316 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023187 - switcheroo_nameToYou |