This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-13
Channels
- # beginners (18)
- # calva (6)
- # cider (9)
- # clara (1)
- # cljdoc (14)
- # clojure (25)
- # clojure-boston (4)
- # clojure-brasil (3)
- # clojure-czech (2)
- # clojure-italy (2)
- # clojure-sweden (6)
- # clojurescript (6)
- # cursive (6)
- # data-science (4)
- # datomic (2)
- # emacs (5)
- # fulcro (2)
- # kaocha (4)
- # off-topic (2)
- # other-languages (1)
- # pathom (5)
- # precept (1)
- # reagent (2)
- # reitit (1)
- # shadow-cljs (2)
- # spacemacs (49)
- # tools-deps (13)
- # vim (14)
- # xtdb (4)
Is there a way to build hierarchies in rules engines/precept? i'm trying to understand the relationship between rules and datomic's query language in general. Specifically, i see how in precept you can build a subscription to a single entity:
(defsub :visible-todos
[[?e :todo/visible true]]
[(<- ?todo (entity ?e))]
=>
{:visible-todo ?todo}
but is there a way to mimic the datomic pull syntax? that is, build a isComponent type relationship?