Curry, partially applied functions, As-pattern