In Datomic:
(q
'[:where
[(ground {}) ?m]
[(assoc ?m :x 5) ?m2]
:find ?m2 .])
returns {:x 5}. But it fails in datascript with clojure.lang.ExceptionInfo: Unknown function 'assoc in [(assoc ?m :x 5) ?m2]
Should we allow all functions in clojure.core (except eval) in datascript as well?