clojure.core.logic.fd/in¶
Assign vars to domain. The domain must come last.
Examples¶
Note by port19x¶
If you're looking to do simple membership tests, such a function isn't builtin
(defn in? [xs el] (some #(= % el) xs))
See also¶
Content from the matching ClojureDocs page, with authors credited on each contribution.