Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
funcDropShadow
· 3y ago · 0 comments
It is not a convention in Clojure. (), [], {}, #{} represent different data structures.
Comments
[–]
Sakos
3y ago
It's really just syntactic sugar, so I would agree with the statement that the convention is being enforced.
[–]
funcDropShadow
OP
3y ago
You get different data structures. I.e. printing #{ 1 1 2 2 } prints #{ 1 2 } whereas [ 1 1 2 2 ] prints [ 1 1 2 2].