This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-21
Channels
- # aws-lambda (12)
- # beginners (20)
- # boot (1)
- # clara (15)
- # clojure (17)
- # clojure-dev (6)
- # clojure-greece (4)
- # clojure-russia (4)
- # clojure-spec (27)
- # clojure-uk (3)
- # clojurescript (22)
- # cursive (1)
- # data-science (3)
- # datomic (4)
- # fulcro (2)
- # juxt (2)
- # leiningen (2)
- # lumo (19)
- # protorepl (13)
- # re-frame (42)
- # reagent (5)
- # ring-swagger (1)
- # shadow-cljs (89)
- # spacemacs (1)
- # uncomplicate (3)
Hello
i find my self having to restart the repl every time i change the rules in a different namespace
i require it with :reload
but still changes are ignored
i have a main namespace with (defsession my-session 'myapp.corerules 'myapp.module.morerules)
i'm new both to clojure and clara
is there a way to simplify the workflow
@wadi.chemkhi By default Clara caches rule sessions for efficiency, but this' isn't great for a REPL-based workflow. I like to set :cache false when working from the REPL to avoid this. The page is a bit old, but there's an example here: https://github.com/cerner/clara-rules/wiki/Using-Clara-from-the-REPL
thnx @ryanbrush 😄
with clojurescript is it possible to define facts in different namespaces and have defsession work properly and require everything ?
or do i need to require all facts from each rules namespace
I don't use the Clojurescript version much but it should be as long everything is properly required.
I see, thnx again @ryanbrush