Algosim documentation: list

list

Creates a list.

Syntax

Description

list is a function that takes any number of objects of any kind, not necessarily all of the same kind, and returns the list consisting of these objects in the order given.

' and list are synonyms.

Examples

list(π, IdentityMatrix(3), color("red"), SineTone(200, 0.1, 1), {1, 2, 3})
3.14159265359
((1, 0, 0), (0, 1, 0), (0, 0, 1))
rgba(1.000, 0.000, 0.000, 1.000)
A 1-second 32-bit 48000 Hz 1-channel sound.
{1, 2, 3}

See also