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
Deriving's show plugin allows one to use @printer to specify custom printers, e.g. from that README:
typefile = {
name : string;perm : int [@printer funfmt -> fprintf fmt "0o%03o"];
} [@@deriving show];;
It seems like an analogous ability here would be very useful. e.g. there are other tagged enhancements (e.g. #10, #87) for which @to_yojson/@of_yojson attributes would be reasonable workarounds / solutions.
Does this sound reasonable?
The text was updated successfully, but these errors were encountered:
Deriving's show plugin allows one to use
@printer
to specify custom printers, e.g. from that README:It seems like an analogous ability here would be very useful. e.g. there are other tagged enhancements (e.g. #10, #87) for which
@to_yojson
/@of_yojson
attributes would be reasonable workarounds / solutions.Does this sound reasonable?
The text was updated successfully, but these errors were encountered: