0.8.4-SNAPSHOT permalink Arrow_down_16x16
  • (<= x y)

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/core/logic/arithmetic.clj:39 top

(defmacro <= [x y]
  "Goal for testing whether x is less than or equal to y.
  `(fn [a#]
     (let [wx# (walk a# ~x)
           wy# (walk a# ~y)]
       (if (clojure.core/<= wx# wy#)
         a# nil))))
Vars in clojure.core.logic.arithmetic/<=:
Used in 0 other vars

Comments top

No comments for <=. Log in to add a comment.