Lists is an actively used design pattern. A list or sequence is an abstract data type that represents a countable number of ordered values, where the same value may occur more than once

?Years Old

Languages with Lists include edn, graphql, ion, json

Example from ion:

null.list         // A null list value
[]                // An empty list value
[1, 2, 3]         // List of three ints
[ 1 , two ]       // List of an int and a symbol
[a , [b]]         // Nested list
[ 1.2, ]          // Trailing comma is legal in Ion (unlike JSON)
[ 1, , 2 ]        // ERROR: missing element between commas

Example from json:

[1, 2, 3]

Last updated August 9th, 2020

Edit Lists on GitHub