Proper way to declare return types parametrically in short-form functions in Julia 0.6

As far as I’m aware, the extra parentheses are the way to go. See also Return type assertions with type parameters - #2 by rdeits

2 Likes