Closed hackwaly closed 2 years ago
The issue here is that ppx_sexp_conv
has no way to statically guarantee that p
produces a list sexp. So you could end up with sexps all defined using [@@deriving sexp]
which are nevertheless incompatible, and would raise at runtime. You could certainly write this serialization manually, but I don't think we want to add it as a built-in given the limitations.