• (display-rule rule)
Return the rule in a readable format.

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

(defn display-rule
  "Return the rule in a readable format."
  [rule]
  (list* '<-
         (-> rule :head display-literal)
         (map display-literal (:body rule))))
Vars in clojure.contrib.datalog.rules/display-rule: -> defn list* map
Used in 0 other vars

Comments top

No comments for display-rule. Log in to add a comment.