In Haskell, while pattern matching, I can use @ to get the entire structure in a pattern. (For easier Googling, this structure is known as an as-pattern.)
For example, x:xs decomposes a list into a head and a tail; I can also get the entire list with xxs@(x:xs).
Does OCaml have something like this?