Pattern matching on a list (rather than a tuple)

Is this possible?

Pattern matching is not supported yet. Matching against a whole list would be possible with varargs patterns, but they are not fully designed yet.