Add support for both lambda param inside and outside braces.

This supports {|$x| ... } as well as |$x| { ... }.

The dual support is to allow for convenient UX investigation.