Pairs, pattern matching them and concatenation of message and function result