svoid philosophyBot1_enableAddSimplifier(PhilosophyBot1 bot) { bot.anyCodeOnFacts.newA(fact -> { S rule = $x(bot.matchString("add simplifier $x", fact)); if (rule == null) ret; PairS p = tok_splitAtDoubleArrow_pair(rule); if (p == null) ret; philosophyBot1_addSimplificationRule(bot, p.a, p.b); }); }
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: | #1027157 |
| Snippet name: | philosophyBot1_enableAddSimplifier (v1) |
| Eternal ID of this version: | #1027157/1 |
| Text MD5: | 8d765ab43b720706793436e75cda9eab |
| 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:02:07 |
| Source code size: | 332 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 349 / 379 |
| Referenced in: | [show references] |