append¶
Description¶
@append(x,y)
Append all items in y to x and return a new list
- if x is a list and y is not a list, y is enlisted and later appended
- if x is a list and y is a list, all cells in y are concatenated to x
Type Rules¶
High-level
Real , Real -> MaxType
complex, complex -> complex
sym , sym -> sym
str , str -> str
list , Any -> list
Any , list -> list
enum , Basic -> enum
Basic , enum -> enum
_ , _ -> domain error
Append with enum
append(enum
Table with details (See type alias)
Shape Rules¶
Examples¶
@append(0:i32, (-1,2,3):i32)
(0,-1,2,3):i32