PLDB
Languages Patterns Calendar About Lists Join

Lists

Lists

Lists is a 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

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]

Article source

PLDB - Build the next great programming language. v5.0.0 - Email ยท Github