how about no hale_opts = {} and do:

```ruby
->(name, ap) { hale_links(name, transition_semantic, ap, hale_opts || {}) }
```