static Exp nlLogic_firstCondition(Exp e) { if (e cast And) ret e.a; ret e; } static Exp nlLogic_firstCondition(IfThen rule) { ret rule == null ? null : nlLogic_firstCondition(rule.in); }
Began life as a copy of #1017664
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017967 |
Snippet name: | nlLogic_firstCondition |
Eternal ID of this version: | #1017967/2 |
Text MD5: | b9487c2291e83fe4b598db4940cdcf10 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-23 15:24:27 |
Source code size: | 200 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 326 / 346 |
Version history: | 1 change(s) |
Referenced in: | [show references] |