Re:Clojure – Fascinated, Disappointed, Astonished (2016)
by pdonis on Friday January 24, 2020 @03:57PM
(#22142372)
> What prevents someone from adding syntactic sugar f (x y) for (f x y)?
Because (cons 1 (cons 2 (cons 3 nil))) is a list and f (x y) isn't. You could put parens around the latter to make it (f (x y)), but then you might as well save a pair of parens and just write (f x y).
Because (cons 1 (cons 2 (cons 3 nil))) is a list and f (x y) isn't. You could put parens around the latter to make it (f (x y)), but then you might as well save a pair of parens and just write (f x y).