0.8.4-SNAPSHOT Arrow_down_16x16
  • (nom-swap a swap)

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/nominal.clj:24 top

(defn nom-swap [a swap]
  (cond
    (= a (first swap)) (second swap)
    (= a (second swap)) (first swap)
    :else a))
Vars in clojure.core.logic.nominal/nom-swap:
Used in 0 other vars

Comments top

No comments for nom-swap. Log in to add a comment.