Skip to content

[@@deriving pp] #300

@giltho

Description

@giltho

Hello,

I'm not 100% sure this isn't already implemented but, at the moment, I believe that the only option for obtaining a printer is to use [@@deriving show]. This also generates a show function, which I often do not want, it clutters my APIs and whenever I want to write the printer by hand it forces me to also add the show function everywhere even though I never use it.

Would you be interested in having [@@deriving pp] in addition to [@@deriving show] which would do the same thing but only derive the pp function and note the show function?

Happy to implement this myself if there is agreement :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions