You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ppx_deriving supports an optional flag. From their docs:
It's possible to make deriving ignore a missing plugin rather than raising an error by passing an optional = true option, for example, to enable conditional compilation:
type addr = string * int
[@@deriving yojson { optional = true }]
This works well for their builtins, but doesn't seem to work for bin_io - which is making writing platform independent code difficult. Would you be able to support it?
The text was updated successfully, but these errors were encountered:
ppx_deriving supports an
optional
flag. From their docs:This works well for their builtins, but doesn't seem to work for bin_io - which is making writing platform independent code difficult. Would you be able to support it?
The text was updated successfully, but these errors were encountered: