Fix scan -> scanl typo in arrays.roy

Typo caused some of the List API to be broken