Nikita Prokopov
Nikita Prokopov
> Wait, is this because, like Datomic, variables need binding at invocation time through the use of [ ] in the rule definition? No, DataScript doesn’t support that. Also I...
Sorry — I’m on vacation currently. If you’re eager to fix, you’ll probably have to look somewhere around https://github.com/tonsky/datascript/blob/d45ddf6e73a542e3bcf6e8845c0c21d2eea20f21/src/datascript/db.cljc#L934-L949 Also, I’m sure there’re plenty of ways to work arounds this....
You can just extend IDeref (cljs) or implement IDeref (clj) and make sure it has DB inside: ``` clj (defn ^:export conn? [conn] (and #?(:clj (instance? clojure.lang.IDeref conn) :cljs (satisfies?...
You get me confused. You want to keep listeners functionality but re-implement Conn as a protocol? What's the idea behind this? How will it be different from DataScript's Conn?
Yeah, but protocol cannot carry implementation anyways. So its either protocol or implementation, not both
Sure. Please provide a PR
Well, it is in a sense that I haven’t thought about someone would use it this way. I’ll think what can be done about that. Meanwhile, you can rewrite your...
Problem here is that DataScript does not understand ref when specified in a form of a map. Datomic seems to allow using such maps in certain cases, so I’ll have...
They are out of scope for DS, but I believe it’s a good opportunity for a library. About good practices, consider this http://tonsky.me/blog/the-web-after-tomorrow/ On Sun, Jul 12, 2015 at 11:15...
Sorry @zilti, docs are not there yet. Datomic team has excellent intro videos explaining basic concepts: - http://www.youtube.com/watch?v=RKcqYZZ9RDY - http://www.youtube.com/watch?v=bAilFQdaiHk This is one of the best ways to learn about...