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

> given the cheerful taste for currying

Currying makes no sense in type definitions. It's like saying that in Java you aren't sure if "String name" will run something, "given Java's cheerful taste for running things".

To me, it's obvious the parentheses in "(Tree a)" are grouping things, which is the most immediate (and correct) interpretation, but I'll agree this is more debatable.



They are clearly grouping "Tree a", but do they mean that it is optional?


Why would you assume it's optional? In which popular programming language do parentheses mean "this is optional"? When you read a formula such as

    (x + 1) / 2
do you assume part of it is optional?




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

Search: