You are passing an inline defined function as an argument. Although very concise, readability is not helped. Consider making it more explicit.