1.2.0 permalink Arrow_down_16x16
  • (delta-literal l)
Given a literal l, return a delta version

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/literals.clj:319 top

(defn delta-literal
  "Given a literal l, return a delta version"
  [l]
  (let [pred* (:predicate l)
        pred (if (map? pred*) pred* {:pred pred*})]
    (assoc l :predicate (assoc pred :delta true))))
Vars in clojure.contrib.datalog.literals/delta-literal: assoc defn let
Used in 0 other vars

Comments top

No comments for delta-literal. Log in to add a comment.