Libraryless. Click here for Pure Java version (9591L/62K).
svoid philosophyBot1_enableAddSimplifier_withTrails(PhilosophyBot1 bot) { bot.addFactPreprocessor(fact -> { S rule = $x(bot.matchString("add simplifier $x", fact)); if (rule == null) false; if (bot.verbose) print("adding simplifier: " + rule); PairS p = tok_splitAtDoubleArrow_pair(rule); if (p == null) false; philosophyBot1_addSimplificationRule_withTrails(bot, p.a, p.b, fact); true; }); }
Began life as a copy of #1027155
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: | #1027179 |
Snippet name: | philosophyBot1_enableAddSimplifier_withTrails |
Eternal ID of this version: | #1027179/4 |
Text MD5: | ab0cd91054220ea9c4c8ecb93a04f1d5 |
Transpilation MD5: | 6c04df81ad54924fb8b790cce638a235 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-23 10:32:22 |
Source code size: | 434 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 207 / 300 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |