0.8.4-SNAPSHOT Arrow_down_16x16
  • (pred v f)
Check a predicate against the value logic var. Non-relational.

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 cljs/core/logic/macros.clj:161 top

(defmacro pred
  "Check a predicate against the value logic var. Non-relational."
  [v f]
  `(project [~v]
     (== (~f ~v) true)))
Vars in cljs.core.logic.macros/pred:
Used in 0 other vars

Comments top

No comments for pred. Log in to add a comment.