报告可以通过提取
return
转换为表达式的
if
和
match
语句。