This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-13
Channels
- # adventofcode (51)
- # announcements (1)
- # babashka (7)
- # beginners (45)
- # berlin (2)
- # bristol-clojurians (1)
- # calva (38)
- # cider (2)
- # clara (25)
- # clj-kondo (2)
- # cljs-dev (25)
- # cljsrn (3)
- # clojure (112)
- # clojure-dev (6)
- # clojure-europe (5)
- # clojure-nl (1)
- # clojure-spec (15)
- # clojure-uk (93)
- # clojurescript (29)
- # clojutre (2)
- # core-async (78)
- # cursive (24)
- # datomic (29)
- # figwheel-main (1)
- # fulcro (50)
- # hugsql (1)
- # hyperfiddle (1)
- # luminus (1)
- # malli (26)
- # off-topic (40)
- # portkey (12)
- # reagent (22)
- # ring-swagger (1)
- # shadow-cljs (56)
- # spacemacs (24)
- # tools-deps (68)
The 1st (= ?cd_paciente cd_paciente) is a binding (since there are no other on the local scope. The second (= ?cd_paciente cd_paciente) is a comparison because the binding is already established right ?
Its beautiful . (error prone too) if i remove a char of ?cd_paciente I got two bindings
@geraldodev yeah, because ?binding-name
is just some arbitrary local name you want to give for the context
I will log an issue for enhancement, when i get a few free seconds @mikerod
@mikerod the warnings from clj-kondo have improved a lot my experience with clojure.
@geraldodev I’ve started to play around with clj-kondo, but haven’t done so very seriously yet - it looks promising
for a Clara DSL thing though - not thinking it can help you much? like in the case of this variable binding thing?
I know it does have some pretty good extension points though - so can do some nice things
@mikerod I've asked on #clj-kondo if it's possible to lint the unused binding case
I think it's a work for a linter. But it's a very especific syntax. for macros that follows defn or def pattern you simply configure :lint-as on a config file like: {:lint-as {com.fulcrologic.fulcro.components/defsc clojure.core/defn }}
@geraldodev yeah, I’ve seen how to do that pattern following like you have above
of course for unused, it may be just not finding the symbol more than one time in the entire DSL form hah
His proposal targets more on the AST compilation side - which is better since the DSL layer is something that is “pluggable” in Clara (people could use their own and target same AST pre-compilation)
Yesterday was my 1st day with clara. I'm enjoying.
About processing facts that comes from sql databases on long running sessions. Because of mutation, one has to query the session looking for the fact based on the primary key of the table, compare it with the current value and if it's different retract the old fact and insert again. Is that correct ?
what does this even mean"
Java.lang.IllegalStateException: Attempting to call unbound fn: #'
ups wrong place