What we have here is an array constructor, which takes one or more ranges as its arguments. The named `where:` argument provides the filter closure and the final argument is the map, using standard trailing closure syntax.
In fact, other than the missing implementation of the constructor, this would be perfectly legal Swift code today.
I'm not sure what's there to be confused about. `x..<y` describes an open range (including x, excluding y). `{x, y in ... }` is normal Swift closure syntax, where `x` and `y` are the arguments; you can also use positional arguments as in `{ ($0, $1) }` instead.
If the final argument of a function is a closure, it can be (as in Ruby) be written after the closing parenthesis of the function call.