svoid gazelle_makeDefaultNoRule(S yesRuleID) { PairS p = gazelle_ruleTextAndComment(yesRuleID); if (p == null) ret; S question = gazelle_firstInOfRuleText(p.a); S text = question + "\n=> No"; S extractedComment = "default rule for " + yesRuleID; // TODO: which comments to transfer? gazelle_addDerivedRules(yesRuleID, litset(text), extractedComment, "default"); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, lnbujpyubztb, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022467 |
Snippet name: | gazelle_makeDefaultNoRule |
Eternal ID of this version: | #1022467/3 |
Text MD5: | 16c11a9a2915c543ab79e56b513ba734 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-17 22:21:36 |
Source code size: | 394 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 254 / 291 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |