Fork me on GitHub

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.


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


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.