1 | static S ai_tryIfAndInput(S s) {
|
2 | for (S rule : fullIndexedTermsStartingWith("[[if ")) pcall {
|
3 | if (ai_isRuleSuitableForFunction(rule, 'ai_ifAndInput)) pcall {
|
4 | try answer ai_ifAndInput(rule, s); |
5 | } |
6 | } |
7 | null; |
8 | } |
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: | 725 / 721 |
| Referenced in: | [show references] |