The ALTernative Language
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Alternatives

Probably ALT’s most compelling core feature is that every value in ALT are ordered bags of (primitive) values.

Building ALTS

There are many ways to build ALTS, but the easiest way is by creating a list of values that are interleaved by the union | operator.

Here is an example:

Notice that duplicates are allowed and that order is preserved. Try to remove and add some values to see what happens.

Now head over to the Types section to learn more about the types of values that ALT provides.