Open stew opened 4 years ago
@stew Are those declarations different? I would expect the function type constructor ->
to be right-associative, so that those two would be identical. The pattern arity is presumably determined by which argument requires the {Bar2}
ability.
When we try to overcome the issue in #1675 with a more explicit type:
this produces:
but we think this is a pretty-printing issue, because this works:
(which tells us that the arity of the pattern match is what we wanted, not what it printed)