Fork me on GitHub
Busy escaping the comfort zone11:11:49

Hi Clara team, I'm looking for a way to add/remove rules from a LocalSession, I'm not seeing any matching function in any idea if this is possible? Thanks!

Busy escaping the comfort zone12:11:18

(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)


@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.