Warning: session_start(): open(/var/lib/php/sessions/sess_tu73r2vkv2ihbcqtpfmtb9108t, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
sclass Entry {
S modifiedRule;
}
cmodule TestRuleEngine2 > DynObjectTable {
S input;
visualize {
ret northAndCenterWithMargin(
dm_textFieldAndSubmit_q('input, 'calc), super.visualize());
}
void calc {
S input = this.input;
RuleEngine2 engine = new(dm_allRulesFromRulesModuleWithComments());
L l = ai_ruleEngine2_rulesForInput_3(engine, input);
setList(map(l, func(RuleEngine2_MatchedRule r) -> Entry {
nu(Entry, modifiedRule := joinWithPlus(r.rule.in))
}));
}
}