Why doesn't this code work?

```
func function (param1 : Int, param2 : Int) -> Int {
    return $0 + $1
}

```

It produces an error:

> 
> Error: Anonymous closure argument not contained in a closure
> 
> 
>