明确声明Int列表?

Kev*_*ith 0 ocaml reason

我如何能明确标记的类型let myList = [1, 2, 3];list of int's

let xs: 'int list = [1,2,3];通过Try ReasonML尝试失败了.

vku*_*kin 6

let xs: list(int) = [1,2,3];在Reason或let xs: int list = [1; 2; 3]OCaml中.