Implement case expression as a syntactic sugar