Pattern matching on a list (rather than a tuple)


#1

Is this possible?


#2

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