ClojureDocs

Search results for query: =

1 to 5 of 5 results. prev page | next page

  • =

    clojure.core

    • (= x)
    • (= x y)
    • (= x y & more)

    Equality. Returns true if x equals y, false if not. Same as Java x.equals(y) except it also works for nil, and compares numbers and collections in a type-independent manner. Clojure's immutable data structures define equals() (and thus =) as a value, not an identity, comparison.

  • ==

    clojure.core

    • (== x)
    • (== x y)
    • (== x y & more)

    Returns non-nil if nums all have the equivalent value (type-independent), otherwise false

  • ==

    clojure.core.logic

    • (== u v)

    A goal that attempts to unify terms u and v.

    1 example
  • ==

    clojure.core.logic.fd

    • (== u v)

    A finite domain constraint. u and v must be equal. u and v must eventually be given domains if vars.

    0 examples
  • ==c

    clojure.core.logic.fd

    • (==c u v)

    0 examples
prev page | next page