Basic Syntax
Julia's array comprehensions use the following syntax:
[expression for element = iterable]
Note that as with for loops, all of =, in, and ∈ are accepted for the comprehension.
This is roughly equivalent to creating an empty array and using a for loop to push! items to it.
result ...