Hacker News new | ask | show | jobs
by tromp 3207 days ago
> Not sure what the rationale for commas in lists is, though.

Well, you need some separator, and spaces won't do since [x y] has x applied to y.

1 comments

Good point.

Although could, in principle, make space-between-list-items higher precedence than function application. E.g.:

    [x (func y) z]
But how do you write a list with only one element, x (func y) z?
[(x (func y) z)]