Add a snippet for anonymous functions