static S ai_tryIfAndInput(S s) { for (S rule : fullIndexedTermsStartingWith("[[if ")) pcall { if (ai_isRuleSuitableForFunction(rule, 'ai_ifAndInput)) pcall { try answer ai_ifAndInput(rule, s); } } null; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1013185 |
| Snippet name: | ai_tryIfAndInput |
| Eternal ID of this version: | #1013185/1 |
| Text MD5: | 9bb5ef782a16e9013c61a81cda1f85b1 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-27 04:55:39 |
| Source code size: | 231 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 721 / 720 |
| Referenced in: | [show references] |