I have some code:
let some_func some_arg = (* ... *)
where some_arg really needs to be [| arg1; arg2 |]. I want to pattern match that in the function argument position, like:
let some_func [| arg1; arg2 |] = (* ... *)
but I also want to keep the variable name some_arg in case I want to do something with it directly. How can I do that?