-
Notifications
You must be signed in to change notification settings - Fork 6
Description
The DatalogPredExpr defined at
roamjs-components/src/types/native.ts
Line 85 in 93ea45e
| export type DatalogPredExpr = { |
has only 7 predicates of the 74 defined in
https://github.com/tonsky/datascript/blob/1.7.8/src/datascript/built_ins.cljc#L81
I suggest adding the full list (below), or at least a few more.
'=', '==', 'not=', '!=', '<', '>', '<=', '>=', '+', '-', '*', '/', 'quot', 'rem', 'mod', 'inc', 'dec', 'max', 'min', 'zero?', 'pos?', 'neg?', 'even?', 'odd?', 'compare', 'rand', 'rand-int', 'true?', 'false?', 'nil?', 'some?', 'not', 'and', 'or', 'complement', 'identical?', 'identity', 'keyword', 'meta', 'name', 'namespace', 'type', 'vector', 'list', 'set', 'hash-map', 'array-map', 'count', 'range', 'not-empty', 'empty?', 'contains?', 'str', 'subs,', 'get', 'pr-str', 'print-str', 'println-str', 'prn-str', 're-find', 're-matches', 're-seq', 're-pattern', '-differ?', 'get-else', 'get-some', 'missing?', 'ground', 'clojure.string/blank?', 'clojure.string/includes?', 'clojure.string/starts-with?', 'clojure.string/ends-with?', 'tuple', 'untuple'