Previous Up Next

6.40.1  Sizes of a list of lists: sizes

Recall that one thing that distinguishes lists from sequences is that a list can be an element of another list. The sizes command finds the length of elements of a list, as long as each element is a list.


Example.
Input:

sizes([[3,4],[2]])

Output:


2,1

Previous Up Next