Report question

Question: Explain this pattern matching code