Fork me on GitHub
Michael Stokley20:03:51

do datomic rules have any concept of namespaces?

Michael Stokley20:03:09

or is it best to put any and all context into the rule name itself

Jarrod Taylor (Clojure team)22:03:40

What problem are you trying to solve?

Michael Stokley21:03:41

i have a namespace named $service.$module.$entity. in it i have a rule that repeats much of the context listed in the namespace name - for example, the entity. if this were a clojure var, i could omit this.

Michael Stokley21:03:58

i just thought that since clojure and spec make heavy use of namespaces, there might be something like that in datomic, and that i had missed it.

Michael Stokley22:03:42

i suppose you can give them a namespace in as much as the rule names are symbols, and symbols can have namespaces