Transpiled version (8784L) is out of date.
svoid philosophyBot1_enableAddSimplifier(PhilosophyBot1 bot) { bot.addFactPreprocessor(fact -> { S rule = $x(bot.matchString("add simplifier $x", fact)); if (rule == null) false; print("adding simplifier: " + rule); PairS p = tok_splitAtDoubleArrow_pair(rule); if (p == null) false; philosophyBot1_addSimplificationRule(bot, p.a, p.b); true; }); }
Began life as a copy of #1027148
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: | #1027155 |
Snippet name: | philosophyBot1_enableAddSimplifier |
Eternal ID of this version: | #1027155/6 |
Text MD5: | 1f0bcb4375423e5ec516ba468257f80f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-22 17:07:02 |
Source code size: | 389 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 267 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027157 - philosophyBot1_enableAddSimplifier (v1) #1027179 - philosophyBot1_enableAddSimplifier_withTrails |