by juliangamble · 12y ago · 0 comments
One thing that fascinates me is that Datalog (the query language of Datomic and a precursor to SQL) doesn't have negation. (ie in an SQL query you can use the NOT operator in your WHERE clause - but you don't have the equivalent in Datomic datalog at present). It seems to be a low priority feature.
https://groups.google.com/forum/#!topic/datomic/UBWzp4nYOMk
They very gently touch on this in the rationale page: Datalog with negation is of equivalent power to relational algebra with recursion. Which seems to suggest you don't need it.
edit: realized it's a referral link, it's not mine, it's because I got there through Rich Hickey's list of books that influenced clojure: http://www.amazon.com/Clojure-Bookshelf/lm/R3LG3ZBZS4GCTH