1.2.0 permalink Arrow_down_16x16
  • (all-predicates rs)
Given a rules-set, return all defined predicates

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:162 top

(defn all-predicates
  "Given a rules-set, return all defined predicates"
  [rs]
  (set (map literal-predicate (map :head rs))))
Vars in clojure.contrib.datalog.rules/all-predicates: defn map set
Used in 0 other vars

Comments top

No comments for all-predicates. Log in to add a comment.