Libraryless. Click here for Pure Java version (8344L/55K).
svoid philosophyBot1_addDeepReplacement(PhilosophyBot1 bot, S in, S out) { if (bot.deepReplacements == null) { bot.deepReplacements = ciMap(); bot.addDeepTransformer(s -> bot.deepReplacements.get(s)); } bot.deepReplacements.put(in, out); }
Began life as a copy of #1025739
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027148 |
Snippet name: | philosophyBot1_addDeepReplacement (v2 allowing other transformers too) |
Eternal ID of this version: | #1027148/3 |
Text MD5: | d83f1533fffa11da5fc56334e2f1a4eb |
Transpilation MD5: | 0ec798fd9ed57c059071c2e4a7b981fe |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-22 16:18:42 |
Source code size: | 261 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 209 / 299 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027150 - philosophyBot1_addDeepReplacement (v1) #1027155 - philosophyBot1_enableAddSimplifier |