How do I provide an ad-hoc database (not registered as clauses, essentially because I am in the same program) to the CHR engine?
Tentative: create a db DB
predicate. Add it as a constraint, then when triggering the appropriate rule, do rule (db DB) ... <=> DB => ...
It worked
Cyril Cohen has marked this topic as resolved.
Last updated: Oct 13 2024 at 01:02 UTC