odoyle-rules icon indicating copy to clipboard operation
odoyle-rules copied to clipboard

A rules engine for Clojure(Script)

Results 21 odoyle-rules issues
Sort by recently updated
recently updated
newest added

Here is a failing test that should pass, but doesn't, that demonstrates the issue: ``` (deftest allow-for-custom-then-functions (let [falsy (fn [new old] false) fired? (atom false)] (-> (reduce o/add-rule (o/->session)...

The :then conditional in the what block receives the old triplet value so can compare it to the new one. If that old value could be passed to the then...

this code ``` (def rules (o/ruleset {::foo [:what [id ::x x {:then not=}] :then (o/insert! (inc id) {::x 10})]})) (def *session (atom (reduce o/add-rule (o/->session) rules))) (swap! *session (fn [session]...

Hello, I'm trying to wrap my brain around how you might use odoyle-rules to manage the state of a GUI application built using cljfx. I saw odolye-rum, but the code...

This is a real noob question - I'm trying to grok how to use the rules' engine and I think maybe due to a lack of background in relevant areas...

I've been slaving away at performance for my game and odoyle has also fallen victim. My fork (https://github.com/nivekuil/odoyle-rules/) has some substantial changes: - `:then-finally` now means "on retract". It gets...

More of a question than an issue. Do you know of anyone that has built a `clj-kondo` extension for `odoyle-rules`? I use `clj-kondo` for all of my Clojure development and...

#17 * Initializing values. How to initialize attributes to nil to avoid problems with accumulators not matching. * Loading data. Build a graph query system to pull data from local...

# Intro On a scale of 1 to 10, where 1 is "just close your eyes and throw a pile of core.async at it!" and 10 is "you need a...

How would one query relationships? For example what when todos have sub-todos: ```clojure {:id :todo1 :text "do this" :sub-todos [{:id :todo2 :text "but first do this!"}]} ``` This can be...