datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
dpsutton 2019-06-03T00:53:27.001300Z

i saw there's a datascript-todo repo that @tonsky made so I bumped it to modern datascript and cljs and added figwheel if people wanted to play with it: https://github.com/dpsutton/datascript-todo

dpsutton 2019-06-03T01:50:43.003100Z

in datascript i can do in a rule [(= ?text "Soap")] but doing [(str/includes? ?text "Soap")] throws an error of unknown predicate on str/includes?. Is this not supported?

dpsutton 2019-06-03T02:03:52.003800Z

so it seems things have to be fully namespace qualified but only for clojure not cljs? Since no way to resolve at runtime?