Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not quite that arg-tuples can contain multiple values under the same name, but rather ":a 1, :a 2" is actually an arg-tuple containing two nested arg-tuples as unnamed values. I agree that basing all of syntax on a single element (especially one that's so "light" on syntax), it's hard making the resulting syntax intuitive. I think it's worth it, but I can see other approaches' benefits.


It's definitely an interesting approach. I imagine it makes the parsing much easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: