Skip to content

Commit 680e377

Browse files
committed
fix: Enable condition-all for Clojurescript
1 parent fa04c26 commit 680e377

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/inferenceql/query/scalar.cljc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@
306306
#?@(:clj ['eval-relation-plan
307307
(let [eval (requiring-resolve 'inferenceql.query.plan/eval)]
308308
#(generative-table/generative-table (eval % env bindings)))])
309-
#?@(:clj ['condition-all #(condition-all % bindings)
310-
'condition-all-except #(condition-all %1 %2 bindings)])
309+
'condition-all #(condition-all % bindings)
310+
'condition-all-except #(condition-all %1 %2 bindings)
311311
'condition condition
312312
'constrain constrain
313313
'mutual-info mutual-info
@@ -328,7 +328,7 @@
328328
;; NB: never actually passes in more than one tuple
329329
[sexpr env bindings & tuples]
330330
(tap> #:scalar.eval{:in-env env :in-bindings bindings
331-
:sexpr (pr-str sexpr) :tuple-sample (take 3 tuples)})
331+
:sexpr (pr-str sexpr) :tuple-sample (take 3 tuples)})
332332
(let [env' (merge env bindings)
333333
tuple-map (fn tuple-map [tuple]
334334
(merge (zipmap (tuple/attributes tuple)

0 commit comments

Comments
 (0)