When a list is shown by MillScript, it is represented by a pair of
square brackets []. Each item in the list is displayed
separated by a comma ,. e.g. consider the following
example MillScript interpreter session
:-) newList();
There is 1 result
[]
:-)
:-) newList( "hello", "there" );
There is 1 result
[hello, there]
:-)
:-) { "a", "lite", "list" };
There is 1 result
[a, lite, list]
List items can be of any valid MillScript object, e.g. other Lists, Maps, XML, strings, numbers, ...
:-) { { 1 }, { 2 }, { <html/> } };
There is 1 result
[[1], [2], [<html/>]]