From array to list