The only difference between case and function heads is the exception generated when no clause matches - CaseClauseError vs FunctionClauseError - in internal passes the only thing the compiler works with is case, everything else is lowered into that.






















