Fork me on GitHub
#clara
<
2021-09-17
>
mikerod01:09:33

You could have one session for the “static” rules. And have one query or a few to pull the derived facts you want from it out.

mikerod01:09:11

Then make a lighter weight second session they took those facts and had queries. But not sure this would help you. I think you just wanted something repl fast as you mentioned

colinkahn03:09:20

Yeah I don't know what I want to change when deving, maybe rules and queries. I ended up making a wrapper that implemented ISession and accepted vars for the facts, records the inserts and retracts and has a "reload" method to make a new session with newly deref'd facts, playing back the recorded inserts/retracts.