Short cut for anonymous function and function as argument of function