• (?- & q)
Define a datalog query

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/datalog/rules.clj:85 top

(defmacro ?-
  "Define a datalog query"
  [& q]
  (let [qq (build-atom q :clojure.contrib.datalog.literals/literal)]
  `(with-meta ~qq {:type ::datalog-query})))
Vars in clojure.contrib.datalog.rules/?-: defmacro let apply concat hash-map list seq with-meta
Used in 0 other vars

Comments top

No comments for ?-. Log in to add a comment.