The as operator can be used to assign sub patterns to variables.
as
The pattern [_, ..] as it will match any non-empty list and assign that list to the variable it.
[_, ..] as it
it