clara

http://www.clara-rules.org/
Busy escaping the comfort zone 2020-11-10T11:51:49.131600Z

Hi Clara team, I'm looking for a way to add/remove rules from a LocalSession, I'm not seeing any matching function in http://www.clara-rules.org/apidocs/0.21.0/clojure/index.html any idea if this is possible? Thanks!

Busy escaping the comfort zone 2020-11-10T12:05:18.133Z

(BTW I don't expect to keep any facts within the session prior to manipulating it, I just want to be able to manipulate the rules prior to usage in some tests)

ethanc 2020-11-10T15:17:37.135Z

@narkisr, Clara does not currently support adding or removing productions from a compiled session. I believe that currently the only way to have a session with fewer rules would be to remake the session without providing the rules in question.