See https://github.com/serde-rs/json/issues/334 -- at root, the issue is just as much that OCaml parses lists into conses implicitly, such that [1; 2; 3] is indistinguishable from 1::2::3::[]. This means long list literals become a very large cons chain.
See https://github.com/serde-rs/json/issues/334 -- at root, the issue is just as much that OCaml parses lists into conses implicitly, such that
[1; 2; 3]
is indistinguishable from1::2::3::[]
. This means long list literals become a very large cons chain.For example,
currently causes a crash.