Add sample about anonymous function