1 | sS ai_ifToFactRule_1(S s) { |
2 | new Matches m; |
3 | if (!flexMatchIC("if *, *", s, m)) null; |
4 | ret "fact(" + $1 + ") => fact(" + $2 + ")"; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021224 |
Snippet name: | ai_ifToFactRule_1 |
Eternal ID of this version: | #1021224/2 |
Text MD5: | 092b94bf28d0e5fd3b7cb344fc65b90b |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-03 17:26:40 |
Source code size: | 139 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 296 / 335 |
Version history: | 1 change(s) |
Referenced in: | [show references] |