Access the first element of a list

Hi, with the new syntax I’m unable to access the first element of a list. In the older version I used the ‘match.cons’ functionality.
Thanks