What is with the "p" in the example? I assume it is the same as "println" used elsewhere in the documentation. Some sort of shorthand.
array is a java array
list is a sequence which are java Collections (Set/Map/List)
However it is a bit sad, language designers never seem to bother cleaning up collection types when designing a new language.
There really should be just one list type.