In the documentation there is this example for destructuring a list
// List
let myList = list{1, 2, 3}
let list{head, ...tail} = myList // 1 assigned to `head`, `list{2, 3}` assigned to tail
However in the Rescript playground (and also when trying to build) it produces this error: File "lam_coercion.ml", line 218, characters 4-10: Assertion failed
Not sure if this is an “issue” or if the documentation needs to be updated.