2 ms·
> 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 so
by the_af 7y ago
> 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.
- HelloNurse 7y agoThey are clearly grouping "Tree a", but do they mean that it is optional?
- the_af 7y agoWhy 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?