Collections: Difference between revisions
m
→{{header|Julia}}
mNo edit summary |
|||
Line 1,545:
=={{header|Julia}}==
Julia has a wide variety of collections, including vectors, matrices, lists of Any data type, associative arrays, and bitsets.
There is a slicing notation and list comprehensions similar to those in Python, but the base index is by default 1, not 0. In Julia, a collection is a just variable length array:
<lang julia>
|