Thanks Brian, nice idea :)
I also added load/save functionality from the atom when reloading the
environment in development.
On Sunday, May 29, 2016 at 2:57:56 PM UTC+3, Brian Platz wrote:
>
> In a web-app you probably want the thread safety an atom provides, so it
> would be a good choice.
>
In a web-app you probably want the thread safety an atom provides, so it
would be a good choice.
You can include a reference to your atom in your system config if you want
to retain the reloaded-like / dependency injection pattern:
(def changing-config (atom {}))
;; system-map
(def sys-map
{:
Hey all,
I don't have a lot of experience with clojure but I did write a few small
services in clojure. Until now the state of the services I wrote were
static so I constructed a system map (more or less following Stuart
Sierra's reloaded workflow - without using the component framework) and
i