nil
. You cannot init a structure in Aqua, only obtain it as a result of a function call.[ ... ]
for arrays, ?[ ... ]
for optional values, *[ ... ]
for streams.?[]
expression takes any number of arguments, but returns an optional value that contains only 0
or 1
value. This is done by trying to yield these values one by one. The first value that yields without an error will be added to the resulting option.0.6.3
, it is not possible to get an element by index directly from the collection creation expression.!
operator may fail or halt:!
operator can currently only be used with literal indices.
That is,!2
is valid but!x
is not valid.
To access an index with non-literal, use the brackets index, like [x].=
, only give a name to a value with an applied getter or to a literal.UPPER_CASE
.