News for hackers. Stuff that matters.
Re:History of Lisp Parentheses (2019) by funcDropShadow on Thursday February 02, 2023 @03:15AM (#34623686)
It is not a convention in Clojure. (), [], {}, #{} represent different data structures.
Re:History of Lisp Parentheses (2019) by Sakos on Thursday February 02, 2023 @04:01AM (#34624005)
It's really just syntactic sugar, so I would agree with the statement that the convention is being enforced.
Re:History of Lisp Parentheses (2019) by funcDropShadow on Friday February 03, 2023 @10:46AM (#34642603)
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].