Skip to content

Collections

Philip Ford edited this page Jan 15, 2017 · 12 revisions

Lists

[item1, item2, ...]
  • The list items are separated by commas within brackets.
  • To create an empty list, assign empty brackets to a reference.

Maps

[key1: value1, key2: value2, ...]
  • Syntax: a comma-separate list of key/value pairs in brackets.
  • Each key is separated from its value by a colon.
  • To create an empty map, assign brackets containing only a colon, [:], to a reference.

Clone this wiki locally