Match fn sugar

Argh. I always forget that discourse requires top posting. I think I was just saying that the expression which follows a match is also a subset of full expressions; for example, it cannot be a struct literal or a block expression. I believe this helps avoid the ambiguity you were referring to.

Oh, cool. I knew that about struct literals, but not block expressions.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.