Closed SaswatPadhi closed 6 years ago
Also reported it at janestreet/base#38. Please close this one if it's not relevant to this repo.
Thanks.
Why not use [@@deriving sexp]
in the signature?
I just saw that the issue was resolved in the other ticket
I have a
Sexpable
module containing a polymorphic variant type. The signature I define looks like:And the implementation is:
But
Sexpable
does not expose__t_of_sexp__
. So, when I try to useT
in another module, like:This fails because it cannot find
__t_of_sexp__
. Currently, I am manually exporting__t_of_sexp__
in my signatureI
, but it would be nice not to have to mess with the signature.