Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

vector equal to map #169

Closed
sanel opened this Issue · 1 comment

2 participants

sanel Antony Lee
sanel

Hi,

I just got this after some playing... Any reason why they are the same?

Running under clojure-py:

user=> (= [] {})
true
user=> (= {} [])
true

but running under clojure:

user=> (= [] {})
false
user=> (= {} [])
false

I'm having latest git code...

Regards.

Antony Lee

Mostly because the implementation was sloppy.

Antony Lee anntzer closed this in 6dc4bab
Antony Lee anntzer referenced this issue from a commit
Antony Lee anntzer Fix equality between {} and [], fix #169.
(closes #142 at the same time.)
60689b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.