When Should One Use `(...)` or `[...]` for Array Comprehensions

This post provides advanced analysis of the topic.

In the Julia manual, comprehensions written without the enclosing square brackets using generator expressions lie in the same Multi-dimensional Arrays section as comprehensions written with enclosing square brackets.

1 Like