List

A list is a sequence of strings, numbers, or boolean, in the form of:

- <key>:
  * <item>
  * <item>
  ...
  * <item>

<item> should be in separate lines, following an asterisk (*)

Example:

# Example
- list_of_strings:
  * item 1
  * item 2
  * item 3
- list_of_numbers:
  * 1
  * -2
  * 3.1415926
- list_of_booleans:
  * TRUE
  * FALSE
(compile output)
TIP

By default, items in lists would be joined as strings with semicolons as separators

A list can't contain elements of different types. The following will raise an error.

# BadExample
- list:
  * 1
  * item
  * TRUE
(compile output)

(*: Example should not work. See Note for more information, or try it in the web-editor)

REAM is indentation insensitive. Spaces before asterisks are not required, but two spaces are recommended.

# Example
- still_a_list:
* item 1
* item 2
* item 3
(compile output)

Empty lines between list items are allowed, but discouraged:

# Example
- still_a_list:
  * item 1

  * item 2
  * item 3
(compile output)
DETAIL

Should lists be nested?

The only reason why I thought of this is because I'm exploring ways to represent GeoJson in REAM, but I couldn't found one nice way to do so.

{
    "type": "MultiLineString",
    "coordinates":
    [
        [
            [170.0, 45.0], [180.0, 45.0]
        ],
        [
            [-180.0, 45.0], [-170.0, 45.0]
        ]
    ]
}