Pattern and expression language asymmetry

It appears in the precedence table, where it is stated that constructor application is left associative, hence the need for parentheses when you need to associate to the right.

I did not know that this was not case the case for patterns. I suppose the difference is that, in patterns, you cannot have function applications, so constructor applications can be made right-associative.

6 Likes