Tommi Reiman

Results 437 comments of Tommi Reiman

Thanks. I added this into my preprocessor for clj-statecharts, I can now enrich and precompute things I need, so not in an urgent need of this now at library level....

e.g. have a protocol to both hide the impl and add missing things. Not doing much yet and not sure where it evolves from here. ```clj (defprotocol FSM (-id [this])...

Sure. in real life: I've used FSMs to model long-running processes (with both users and applications sending signals to them), with state stored in a database. These processes need to...

Any news on this? Looking also forward to this, config similar like the edn / transit readers?

Got bitten this too. Any change to get fixed?

This must be evil, but would be possible: ```clj (re-frame/reg-event-fx ::fx (fn [{:keys [db]} [_ fx]] (fx {:db db :fx []}))) (re-frame/dispatch [::fx (comp set-something fetch-data dispatch-other)]) ```

Noticed also the `application/edn` bug. This is effecting most Clojure-based swagger-apps, where EDN (and Transit) protocols are used as the main protocol. instead of JSON.

Current solution: ```clj (def Schema [:and [:map [:x boolean?] [:y {:optional true} int?] [:z {:optional true} string?]] [:fn {:error/message "y & z are mutually exclusive" :error/path [:y]} (fn [{:keys [z...

actually, this is duplicate of #438. As this has more info, will close the other one.

I was thinking of using meander. I think both could be tested "on paper" for few sample cases to get more insight on how they would/not work. Code syntax samples...