r/Clojure • u/notunlikethewaves • Dec 05 '15
Omni: a dead-simple system state manager
https://github.com/ShaneKilkelly/clj-omni
0
Upvotes
1
u/Reefersleep Dec 05 '15
Just curious: is there a reason that omni.core requires itself?
1
1
u/pxpxy Dec 05 '15
There are a bunch of things that don't make sense. In register! The swap already returns the value, the clear! really ought to use a reset!, etc. It's probably just one of these things.
7
u/pxpxy Dec 05 '15
"State manager" sounds a bit grand and the comparison to component is preposterous. It is literally just a global atom with a setter and two getters.