Libraryless. Click here for Pure Java version (2746L/17K).
1 | static LPairS philosophyBot1_allSimplifications_gen(virtual PhilosophyBot1 bot) { |
2 | new LPairS out; |
3 | for (WithTrail<S> fact : (L<WithTrail<S>>) shallowImportAll((Iterable) rcall deducedFactsWithTrails(bot))) { |
4 | Map map = optCast Map(fact.trail); |
5 | S op = optCast S(mapGet(map, "op")); |
6 | if (eq(op, "gazelle_deepTransform_withTrail")) |
7 | out.add(pair((S) map.get("input"), fact!); |
8 | } |
9 | ret out; |
10 | } |
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: | #1027183 |
Snippet name: | philosophyBot1_allSimplifications_gen - get all simplification pairs (generic version) |
Eternal ID of this version: | #1027183/2 |
Text MD5: | 2678ef13dcbbf48c2821988484d18e19 |
Transpilation MD5: | a0f6318ee507c357d31e64c0f1c7be28 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-24 12:42:45 |
Source code size: | 416 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 206 / 303 |
Version history: | 1 change(s) |
Referenced in: | [show references] |